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

Unified Diff: gcl.py

Issue 3415019: Even if HTTPError subclasses URLError, it doesn't have the member reason. (Closed)
Patch Set: Created 10 years, 3 months 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcl.py
diff --git a/gcl.py b/gcl.py
index 44aa0f03f4b03809d7b21d38c93f57a5c057cc02..8aab876b0c386f4e82c7a0f6a2fb9521cdddc382 100755
--- a/gcl.py
+++ b/gcl.py
@@ -1334,7 +1334,7 @@ def main(argv):
raise
print >> sys.stderr, (
'AppEngine is misbehaving and returned HTTP %d, again. Keep faith '
- 'and retry or visit go/isgaeup.\n%s') % (e.code, e.reason)
+ 'and retry or visit go/isgaeup.\n%s') % (e.code, str(e))
return 1
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698