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

Issue 180723002: Incorrect SSLError attribute. (Closed)

Created:
6 years, 10 months ago by Sergey Berezin
Modified:
6 years, 10 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Incorrect SSLError attribute. ssl.SSLError does NOT have 'reason' attribute. Use str() to get a reliable string. Fixed the silly bug in another CL: https://codereview.chromium.org/180273003/ The ssl.SSLError does NOT have attribute 'reason', and must use the generic 'strerror' instead. This is what happens when I submit a CL too fast... BUG=346845 R=stip@chromium.org,maruel@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=253317

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M rietveld.py View 1 chunk +1 line, -1 line 0 comments Download
M tests/rietveld_test.py View 4 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Sergey Berezin
Tested the fix and wrote a unittest for it. Apparently, SSLError is raised as SSLError('string ...
6 years, 10 months ago (2014-02-26 00:34:37 UTC) #1
Sergey Berezin
6 years, 10 months ago (2014-02-26 00:59:25 UTC) #2
agable
lgtm shipit
6 years, 10 months ago (2014-02-26 01:01:23 UTC) #3
Sergey Berezin
The CQ bit was checked by sergeyberezin@chromium.org
6 years, 10 months ago (2014-02-26 01:01:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyberezin@chromium.org/180723002/1
6 years, 10 months ago (2014-02-26 01:02:01 UTC) #5
commit-bot: I haz the power
6 years, 10 months ago (2014-02-26 01:04:05 UTC) #6
Message was sent while issue was closed.
Change committed as 253317

Powered by Google App Engine
This is Rietveld 408576698