retain Python 2.6 syntax compatibility
Merge pull request #2 from hannosch/python26

Retain Python 2.6 syntax compatibility