add parenthesis for python3 compatibility
Merge pull request #278 from yannick/master

add parenthesis for python3 compatibility