Skip to content

Commit c810fae

Browse files
fchapotondavidism
authored andcommitted
turn 2 prints to py2/py3 compatible syntax (pallets#1812)
1 parent 88500f5 commit c810fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/flaskext_tester.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112

113113

114114
def log(msg, *args):
115-
print '[EXTTEST]', msg % args
115+
print('[EXTTEST] ' + (msg % args))
116116

117117

118118
class TestResult(object):
@@ -302,7 +302,7 @@ def main():
302302
if args.browse:
303303
import webbrowser
304304
webbrowser.open('file:///' + filename.lstrip('/'))
305-
print 'Results written to', filename
305+
print('Results written to {}'.format(filename))
306306

307307

308308
if __name__ == '__main__':

0 commit comments

Comments
 (0)