fix syntax error under Python3
Merge pull request #13 from kkurian/master

fix syntax error under Python3