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

Issue 27260007: GTTF: When faking urllib2.HTTPError use int type for HTTP error code (Closed)

Created:
7 years, 2 months ago by Paweł Hajdan Jr.
Modified:
7 years, 2 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

GTTF: When faking urllib2.HTTPError use int type for HTTP error code This makes exception catching code which compares the code with numeric values work as expected. pythonis not PHP and 500 != '500'. BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=228788

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M rietveld.py View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Paweł Hajdan Jr.
7 years, 2 months ago (2013-10-15 22:01:02 UTC) #1
M-A Ruel
lgtm
7 years, 2 months ago (2013-10-15 22:32:44 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/phajdan.jr@chromium.org/27260007/1
7 years, 2 months ago (2013-10-15 22:50:41 UTC) #3
commit-bot: I haz the power
7 years, 2 months ago (2013-10-15 22:53:00 UTC) #4
Message was sent while issue was closed.
Change committed as 228788

Powered by Google App Engine
This is Rietveld 408576698