mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
add license statement to checkincludes, and have it return an error code
This commit is contained in:
parent
8dcc015975
commit
eb784aa9ea
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user