Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1207)

Unified Diff: breakpad.py

Issue 4360002: Largely reduce the number of pylint warnings and fix one typo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: address comments Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome-update.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: breakpad.py
diff --git a/breakpad.py b/breakpad.py
index bcfdb8da9c91aece6e9643e0150519608d8dd5cf..ef59b551fda28b2236a8ec723f0e6b90888f1c8f 100644
--- a/breakpad.py
+++ b/breakpad.py
@@ -46,9 +46,9 @@ def SendStack(last_tb, stack, url=None):
params['exception'] = str(last_tb)
except:
pass
- print '\n'.join(' %s: %s' % (k, v[0:50]) for k,v in params.iteritems())
+ print('\n'.join(' %s: %s' % (k, v[0:50]) for k, v in params.iteritems()))
request = urllib.urlopen(url, urllib.urlencode(params))
- print request.read()
+ print(request.read())
request.close()
except IOError:
print('There was a failure while trying to send the stack trace. Too bad.')
« no previous file with comments | « no previous file | chrome-update.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698