mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Run 2to3's print fixer over some places that had been missed.
This commit is contained in:
parent
716c3ac40c
commit
e7bf59f500
51 changed files with 253 additions and 253 deletions
|
@ -16,7 +16,7 @@ def main():
|
|||
sys.exit(0)
|
||||
zappyc(dir)
|
||||
else:
|
||||
print 'Usage: zappyc dir ...'
|
||||
print('Usage: zappyc dir ...')
|
||||
sys.exit(1)
|
||||
for dir in sys.argv[1:]:
|
||||
zappyc(dir)
|
||||
|
@ -28,7 +28,7 @@ def walker(dummy, top, names):
|
|||
for name in names:
|
||||
if name[-4:] in ('.pyc', '.pyo'):
|
||||
path = os.path.join(top, name)
|
||||
print 'Zapping', path
|
||||
print('Zapping', path)
|
||||
if doit:
|
||||
os.unlink(path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue