[tor-commits] [tor/master] Make checkIncludes work on python 2.7

nickm at torproject.org nickm at torproject.org
Mon Jul 9 19:46:45 UTC 2018


commit 3145e469d8d72ccc2a4e9317c83331df7cc29803
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Jul 9 15:46:39 2018 -0400

    Make checkIncludes work on python 2.7
---
 scripts/maint/checkIncludes.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/maint/checkIncludes.py b/scripts/maint/checkIncludes.py
index 9da15a2b9..5cf7ead47 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



More information about the tor-commits mailing list