use print function over print statement in ./misc/ directory

This commit is contained in:
heartsucker
2019-03-22 11:40:58 +01:00
parent bcd5fcbffb
commit 55f8408718
47 changed files with 350 additions and 259 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python
from __future__ import print_function
import os, sys
from twisted.python import usage
@ -22,7 +24,7 @@ def check(fn):
line = line[:-1]
if line.rstrip() != line:
# the %s:%d:%d: lets emacs' compile-mode jump to those locations
print "%s:%d:%d: trailing whitespace" % (fn, i+1, len(line)+1)
print("%s:%d:%d: trailing whitespace" % (fn, i+1, len(line)+1))
found[0] = True
f.close()