Hotfix python2.6 syntax error