Index: breakpad.py |
diff --git a/breakpad.py b/breakpad.py |
index ee759f9ceaab80bbd71f7a863601a885cab61e85..afe469c6c5128b3d3a4dce08609bb4c66c49e5f5 100644 |
--- a/breakpad.py |
+++ b/breakpad.py |
@@ -89,8 +89,8 @@ def SendStack(last_tb, stack, url=None, maxlen=50): |
'version': sys.version, |
} |
# pylint: disable=W0702 |
- print('\n'.join(' %s: %s' % (k, v[0:maxlen]) |
- for k, v in params.iteritems())) |
+ print('\n'.join(' %s: %s' % (k, params[k][0:maxlen]) |
+ for k in sorted(params))) |
print(post(url, params)) |
except IOError: |
print('There was a failure while trying to send the stack trace. Too bad.') |