commit a55c89c47594afc47d1302fbebed9d104ec3d6ff parent de616694257f19d5d2bd977e543ba98580d35be9 Author: George Kadianakis <desnacked@riseup.net> Date: Thu, 14 Mar 2019 02:15:32 +0200 practracker: Be compatible with python2 which is used by travis/jenkins. Diffstat:
| M | scripts/maint/practracker/practracker.py | | | 2 | ++ |
| M | scripts/maint/practracker/problem.py | | | 2 | ++ |
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git 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 diff --git a/scripts/maint/practracker/problem.py b/scripts/maint/practracker/problem.py @@ -7,6 +7,8 @@ problem is worse than a registered exception so that it only warns when things get worse. """ +from __future__ import print_function + import os.path import sys