commit | cef7236c8012a441203c96acb1a3c01f1611e709 | [log] [tgz] |
---|---|---|
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Oct 15 22:52:59 2013 +0000 |
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Oct 15 22:52:59 2013 +0000 |
tree | 769e21adea7de422c0c20005837537f73acd45fe | |
parent | 2d1ee9ec79f05eb1f9cf448fe2cf0b49b7f73658 [diff] |
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 Review URL: https://codereview.chromium.org/27260007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@228788 0039d316-1c4b-4281-b951-d872f2087c98