mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Merged revisions 75061-75062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r75061 | benjamin.peterson | 2009-09-25 15:34:04 -0500 (Fri, 25 Sep 2009) | 1 line fix print statement ........ r75062 | benjamin.peterson | 2009-09-25 15:56:52 -0500 (Fri, 25 Sep 2009) | 2 lines correct the fixpath.py script to work in Python 3 #6999 ........
This commit is contained in:
parent
ae1b4d2d1a
commit
0e33da095f
2 changed files with 13 additions and 12 deletions
|
@ -64,7 +64,7 @@ class StdoutRefactoringTool(refactor.MultiprocessRefactoringTool):
|
|||
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 @@ def main(fixer_pkg, args=None):
|
|||
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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue