summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/CheckTabs.py')
-rwxr-xr-xBuildTools/CheckTabs.py4
1 files changed, 2 insertions, 2 deletions
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)