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
experimental/szager/collated-output
maruel@chromium.org 15 years ago
parent 58c1938777
commit 7633e473f1

@ -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

Loading…
Cancel
Save