diff options
Diffstat (limited to 'googlemock/scripts')
-rwxr-xr-x | googlemock/scripts/gmock_doctor.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/googlemock/scripts/gmock_doctor.py b/googlemock/scripts/gmock_doctor.py index 9ac4653..74992bc 100755 --- a/googlemock/scripts/gmock_doctor.py +++ b/googlemock/scripts/gmock_doctor.py @@ -599,7 +599,7 @@ def main(): print ('Please copy and paste the compiler errors here. Press c-D when ' 'you are done:') else: - print 'Waiting for compiler errors on stdin . . .' + print ('Waiting for compiler errors on stdin . . .') msg = sys.stdin.read().strip() diagnoses = Diagnose(msg) @@ -617,18 +617,18 @@ If you send your source code and the compiler's error messages to %s, you can be helped and I can get smarter -- win-win for us!""" % (msg, _EMAIL)) else: - print '------------------------------------------------------------' - print 'Your code appears to have the following', + print ('------------------------------------------------------------') + print ('Your code appears to have the following',) if count > 1: - print '%s diseases:' % (count,) + print ('%s diseases:' % (count,)) else: - print 'disease:' + print ('disease:') i = 0 for d in diagnoses: i += 1 if count > 1: - print '\n#%s:' % (i,) - print d + print ('\n#%s:' % (i,)) + print (d) print (""" How did I do? If you think I'm wrong or unhelpful, please send your source code and the compiler's error messages to %s. |