Fixes #2140  Syntax error

Syntax error in print statement did not work in Python3.