[tor/master] add license statement to checkincludes, and have it return an error code

commit eb784aa9eaced1adb436d752ccdbeb2ff19c9e23 Author: Nick Mathewson <nickm@torproject.org> Date: Thu Jun 21 14:29:00 2018 -0400 add license statement to checkincludes, and have it return an error code --- scripts/maint/checkIncludes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/maint/checkIncludes.py b/scripts/maint/checkIncludes.py index b96b7f4b3..3c611675e 100755 --- a/scripts/maint/checkIncludes.py +++ b/scripts/maint/checkIncludes.py @@ -1,4 +1,5 @@ #!/usr/bin/python3 +# Copyright 2018 The Tor Project, Inc. See LICENSE file for licensing info. import fnmatch import os @@ -68,3 +69,4 @@ if trouble: err( """To change which includes are allowed in a C file, edit the {} files in its enclosing directory.""".format(RULES_FNAME)) + sys.exit(1)
participants (1)
-
nickm@torproject.org