Change syntax to be Python 2.6 compatible
Merge pull request #24 from knabar/python-2.6-fix

Change syntax to be Python 2.6 compatible