Even if HTTPError subclasses URLError, it doesn't have the member reason.
That's so pythonic. Use str() instead.
TBR=bradnelson
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/3415019
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@60211 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/gcl.py b/gcl.py
index 44aa0f0..8aab876 100755
--- a/gcl.py
+++ b/gcl.py
@@ -1334,7 +1334,7 @@
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