practracker: Be compatible with python2 which is used by travis/jenkins.

This commit is contained in:
George Kadianakis
2019-03-14 02:15:32 +02:00
parent de61669425
commit a55c89c475
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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
+2
View File
@@ -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