summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-22 10:13:37 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-22 10:13:53 (GMT)
commit1f7d4ab55ffeaf14c66dcf4f3fb41961916a1192 (patch)
tree7b6b22aba5eb55454fad0878cc2d2e60e1c7cf5e /BuildTools
parent7b0751dd4fe67837b043f89397013a3b19d17190 (diff)
downloadswift-1f7d4ab55ffeaf14c66dcf4f3fb41961916a1192.zip
swift-1f7d4ab55ffeaf14c66dcf4f3fb41961916a1192.tar.bz2
Ignore tabs in Qt-generated files.
Diffstat (limited to 'BuildTools')
-rwxr-xr-xBuildTools/CheckTabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/CheckTabs.py b/BuildTools/CheckTabs.py
index 6455a07..6c9f60b 100755
--- a/BuildTools/CheckTabs.py
+++ b/BuildTools/CheckTabs.py
@@ -6,7 +6,7 @@ foundExpandedTabs = False
for (path, dirs, files) in os.walk(".") :
if not "3rdParty" in path :
- for filename in [os.path.join(path, file) for file in files if file.endswith(".cpp") or file.endswith(".h")] :
+ for filename in [os.path.join(path, file) for file in files if (file.endswith(".cpp") or file.endswith(".h")) and not "ui_" in file and not "moc_" in file and not "qrc_" in file] :
file = open(filename, "r")
contents = []
contentsChanged = False