Python 2.6 compatibility
Merge pull request #11 from wrmsr/master

Python 2.6 compatibility