Support for python version 2.6 or earlier.
Merge pull request #4 from theMonttu/master