summaryrefslogtreecommitdiff
path: root/tools/hacking.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hacking.py')
-rwxr-xr-xtools/hacking.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/hacking.py b/tools/hacking.py
index 6c320935..e6a05136 100755
--- a/tools/hacking.py
+++ b/tools/hacking.py
@@ -165,7 +165,8 @@ if __name__ == "__main__":
pep8._main()
finally:
if len(_missingImport) > 0:
- print >> sys.stderr, ("%i imports missing in this test environment"
- % len(_missingImport))
+ sys.stderr.write(
+ "%i imports missing in this test environment\n" %
+ len(_missingImport))
# vi: ts=4 expandtab