[Python-checkins] r75061 - python/branches/py3k/Lib/lib2to3/main.py
benjamin.peterson
python-checkins at python.org
Fri Sep 25 22:34:04 CEST 2009
Author: benjamin.peterson
Date: Fri Sep 25 22:34:04 2009
New Revision: 75061
Log:
fix print statement
Modified:
python/branches/py3k/Lib/lib2to3/main.py
Modified: python/branches/py3k/Lib/lib2to3/main.py
==============================================================================
--- python/branches/py3k/Lib/lib2to3/main.py (original)
+++ python/branches/py3k/Lib/lib2to3/main.py Fri Sep 25 22:34:04 2009
@@ -64,7 +64,7 @@
print(line)
def warn(msg):
- print >> sys.stderr, "WARNING: %s" % (msg,)
+ print("WARNING: %s" % (msg,), file=sys.stderr)
def main(fixer_pkg, args=None):
@@ -159,8 +159,8 @@
options.processes)
except refactor.MultiprocessingUnsupported:
assert options.processes > 1
- print >> sys.stderr, "Sorry, -j isn't " \
- "supported on this platform."
+ print("Sorry, -j isn't supported on this platform.",
+ file=sys.stderr)
return 1
rt.summarize()
More information about the Python-checkins
mailing list