mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
Apply Python 3 futurize transform libfuturize.fixes.fix_print_with_import
Refer #256
This commit is contained in:
committed by
Tim Abbott
parent
3e7827358e
commit
c59185e119
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env python2.7
|
||||
|
||||
from __future__ import print_function
|
||||
import dateutil.parser
|
||||
import pytz
|
||||
import subprocess
|
||||
@@ -13,7 +14,7 @@ states = {
|
||||
}
|
||||
|
||||
def report(state, msg):
|
||||
print "%s: %s" % (state, msg)
|
||||
print("%s: %s" % (state, msg))
|
||||
exit(states[state])
|
||||
|
||||
if subprocess.check_output(['psql', 'postgres', '-t', '-c',
|
||||
|
||||
Reference in New Issue
Block a user