From bba024c4ff2bc299e938211d3fa947512ff1ce44 Mon Sep 17 00:00:00 2001 From: Kevin Smith <git@kismith.co.uk> Date: Tue, 24 Apr 2012 21:06:18 +0100 Subject: Change prints to functions in checktabs diff --git a/BuildTools/CheckTabs.py b/BuildTools/CheckTabs.py index c069140..c685fc4 100755 --- a/BuildTools/CheckTabs.py +++ b/BuildTools/CheckTabs.py @@ -30,12 +30,12 @@ for (path, dirs, files) in os.walk(".") : file.close() if contentsChanged : if len(sys.argv) > 1 and sys.argv[1] == "--fix" : - print "Fixing tabs in " + filename + print("Fixing tabs in " + filename) file = open(filename, "w") file.write(''.join(contents)) file.close() else : foundExpandedTabs = True - print filename + " contains expanded tabs" + print(filename + " contains expanded tabs") sys.exit(foundExpandedTabs) -- cgit v0.10.2-6-g49f6