Use Python 2.4 syntax

Fix GH-1