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.') |