summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-09 15:46:39 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-09 15:46:39 -0400
commit3145e469d8d72ccc2a4e9317c83331df7cc29803 (patch)
tree87aa60b8ddaa4cb642b15cf7129980145b01b1bf /scripts
parentf8766e887879214297175b0548e3ba4235879df3 (diff)
downloadtor-3145e469d8d72ccc2a4e9317c83331df7cc29803.tar.gz
tor-3145e469d8d72ccc2a4e9317c83331df7cc29803.zip
Make checkIncludes work on python 2.7
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/maint/checkIncludes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/maint/checkIncludes.py b/scripts/maint/checkIncludes.py
index 9da15a2b9c..5cf7ead47e 100755
--- a/scripts/maint/checkIncludes.py
+++ b/scripts/maint/checkIncludes.py
@@ -1,6 +1,8 @@
#!/usr/bin/python3
# Copyright 2018 The Tor Project, Inc. See LICENSE file for licensing info.
+from __future__ import print_function
+
import fnmatch
import os
import re