From 1f7d4ab55ffeaf14c66dcf4f3fb41961916a1192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 22 Aug 2009 12:13:37 +0200 Subject: Ignore tabs in Qt-generated files. 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 -- cgit v0.10.2-6-g49f6