diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-04-09 07:42:40 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-04-09 07:42:40 (GMT) |
commit | a2c168fb15ab85c8c0c3493e207c8bb06f6b5b18 (patch) | |
tree | 5fe549c19e4bd09bf85f7e2ec080cae421a5bee2 | |
parent | e528cadc4dd8961301fc84ff9a8b07999b1bf515 (diff) | |
download | swift-contrib-a2c168fb15ab85c8c0c3493e207c8bb06f6b5b18.zip swift-contrib-a2c168fb15ab85c8c0c3493e207c8bb06f6b5b18.tar.bz2 |
Don't check BuildVersion.h for copyrights.
-rwxr-xr-x | BuildTools/Copyrighter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/Copyrighter.py b/BuildTools/Copyrighter.py index 8673c22..b6f7fa2 100755 --- a/BuildTools/Copyrighter.py +++ b/BuildTools/Copyrighter.py @@ -136,7 +136,7 @@ elif sys.argv[1] == "check-all-copyrights" : for (path, dirs, files) in os.walk(".") : if "3rdParty" in path or ".sconf" in path : continue - 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] : + 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 and not "BuildVersion.h" in file] : ok &= check_copyright(filename) if not ok : sys.exit(-1) @@ -150,7 +150,7 @@ elif sys.argv[1] == "set-all-copyrights" : for (path, dirs, files) in os.walk(".") : if "3rdParty" in path or ".sconf" in path : continue - 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] : + 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 and not "BuildVersion.h" in file] : set_copyright(filename, copyright) else : print "Unknown command: " + sys.argv[1] |