Fix syntax error on python 2.6