Issue #5 solution broke compatibility with Python 2.6
Merge pull request #11 from rhymes/master

Issue #5 solution broke compatibility with Python 2.6