diff options
| author | Collin Winter <collinw@gmail.com> | 2007-08-30 18:39:28 (GMT) |
|---|---|---|
| committer | Collin Winter <collinw@gmail.com> | 2007-08-30 18:39:28 (GMT) |
| commit | e7bf59f500481715e76ff646f6728e28361faff2 (patch) | |
| tree | 3f3dcd530272bb5be36089c3f2f3345ee373012f /Mac/scripts/bgenall.py | |
| parent | 716c3ac40cae880193dfdbda39a0ca7ed7cd2854 (diff) | |
| download | cpython-e7bf59f500481715e76ff646f6728e28361faff2.zip cpython-e7bf59f500481715e76ff646f6728e28361faff2.tar.gz cpython-e7bf59f500481715e76ff646f6728e28361faff2.tar.bz2 | |
Run 2to3's print fixer over some places that had been missed.
Diffstat (limited to 'Mac/scripts/bgenall.py')
| -rw-r--r-- | Mac/scripts/bgenall.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Mac/scripts/bgenall.py b/Mac/scripts/bgenall.py index 1fe5f34..dc33163 100644 --- a/Mac/scripts/bgenall.py +++ b/Mac/scripts/bgenall.py @@ -6,7 +6,7 @@ import string def bgenone(dirname, shortname): os.chdir(dirname) - print '%s:'%shortname + print('%s:'%shortname) # Sigh, we don't want to lose CVS history, so two # modules have funny names: if shortname == 'carbonevt': @@ -18,12 +18,12 @@ def bgenone(dirname, shortname): try: m = __import__(modulename) except: - print "Error:", shortname, sys.exc_info()[1] + print("Error:", shortname, sys.exc_info()[1]) return 0 try: m.main() except: - print "Error:", shortname, sys.exc_info()[1] + print("Error:", shortname, sys.exc_info()[1]) return 0 return 1 @@ -45,9 +45,9 @@ def main(): success.append(name) else: failure.append(name) - print 'Done:', string.join(success, ' ') + print('Done:', string.join(success, ' ')) if failure: - print 'Failed:', string.join(failure, ' ') + print('Failed:', string.join(failure, ' ')) return 0 return 1 |
