diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-04-24 20:06:18 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-04-24 20:06:18 (GMT) |
commit | bba024c4ff2bc299e938211d3fa947512ff1ce44 (patch) | |
tree | cbef1480f8cab9041435af8afe70b315d76c9af4 /BuildTools | |
parent | f4039e04a82be49acfb0aebadbfc4f4c231f3a05 (diff) | |
download | swift-contrib-bba024c4ff2bc299e938211d3fa947512ff1ce44.zip swift-contrib-bba024c4ff2bc299e938211d3fa947512ff1ce44.tar.bz2 |
Change prints to functions in checktabs
Diffstat (limited to 'BuildTools')
-rwxr-xr-x | BuildTools/CheckTabs.py | 4 |
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) |