Skip to content
Snippets Groups Projects
Commit eb784aa9 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

add license statement to checkincludes, and have it return an error code

parent 8dcc0159
No related branches found
No related tags found
No related merge requests found
#!/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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment