Add parentheses to print statement

In Python 3.*, print is a function call. This change adds parentheses
around the string to fix the syntax error for 3.*
This commit is contained in:
Michelle McDaniel 2015-03-11 14:58:54 -07:00
Родитель b46f05d915
Коммит 07e2b35148
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -170,7 +170,7 @@ def runFormat(args):
returncode = -1 returncode = -1
if returncode == -1: if returncode == -1:
print "There were formatting errors. Rerun with --fix" print("There were formatting errors. Rerun with --fix")
return returncode return returncode
def main(argv): def main(argv):