syntax error in py 2.6