Commit eb784aa9 authored by Nick Mathewson's avatar Nick Mathewson 🐚
Browse files

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

parent 8dcc0159
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
#!/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)