зеркало из https://github.com/dotnet/llilc.git
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:
Родитель
b46f05d915
Коммит
07e2b35148
|
@ -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):
|
||||||
|
|
Загрузка…
Ссылка в новой задаче