Use Python 2.4 syntax
Merge pull request #38 from igmar/GH-1

Use Python 2.4 syntax