Add Python 2.6.x compatibility
Merge pull request #1 from bhedrich/master

Add Python 2.6.x compatibility (by bhedrich)