summaryrefslogtreecommitdiff
path: root/scripts/maint/practracker/practracker.py
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-03-14 02:15:32 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2019-03-14 02:15:32 +0200
commita55c89c47594afc47d1302fbebed9d104ec3d6ff (patch)
tree16c4680ce5f3b58d673eac076b7915d0d7644c72 /scripts/maint/practracker/practracker.py
parentde616694257f19d5d2bd977e543ba98580d35be9 (diff)
downloadtor-a55c89c47594afc47d1302fbebed9d104ec3d6ff.tar.gz
tor-a55c89c47594afc47d1302fbebed9d104ec3d6ff.zip
practracker: Be compatible with python2 which is used by travis/jenkins.
Diffstat (limited to 'scripts/maint/practracker/practracker.py')
-rwxr-xr-xscripts/maint/practracker/practracker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/maint/practracker/practracker.py b/scripts/maint/practracker/practracker.py
index 08b74c264f..a6e6d0b607 100755
--- a/scripts/maint/practracker/practracker.py
+++ b/scripts/maint/practracker/practracker.py
@@ -18,6 +18,8 @@ the source code and then get saved in the repository for ever after:
$ python3 ./scripts/maint/practracker/practracker.py . > ./scripts/maint/practracker/exceptions.txt
"""
+from __future__ import print_function
+
import os, sys
import metrics