Syntax error in Python 2.6, fixed