Fixes #2140  Syntax error

Syntax error in print statement did not work in Python3.
Merge pull request #2154 from cayci/issue_2140

Fixes #2140  Syntax error