commit eb784aa9eaced1adb436d752ccdbeb2ff19c9e23
parent 8dcc015975856cde2b78f903fd85a0dc7163dfcd
Author: Nick Mathewson <nickm@torproject.org>
Date: Thu, 21 Jun 2018 14:29:00 -0400
add license statement to checkincludes, and have it return an error code
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)