summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-04-24 20:06:18 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-04-24 20:06:18 (GMT)
commitbba024c4ff2bc299e938211d3fa947512ff1ce44 (patch)
treecbef1480f8cab9041435af8afe70b315d76c9af4 /BuildTools
parentf4039e04a82be49acfb0aebadbfc4f4c231f3a05 (diff)
downloadswift-bba024c4ff2bc299e938211d3fa947512ff1ce44.zip
swift-bba024c4ff2bc299e938211d3fa947512ff1ce44.tar.bz2
Change prints to functions in checktabs
Diffstat (limited to 'BuildTools')
-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)