diff options
author | Alberto Bertogli <albertito@blitiri.com.ar> | 2013-11-03 00:32:43 +0100 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2013-11-03 00:32:43 +0100 |
commit | f6a75820e812f1ab44545cf01f4c475952df0821 (patch) | |
tree | 19b37bb461ff7500b8e0c93af09f8da230fe4592 /git.py | |
parent | e49c69da2e53c8938f4d58bd478bb68f060e3849 (diff) | |
download | git-arr-fork-f6a75820e812f1ab44545cf01f4c475952df0821.zip |
Work around HTTPError status code issues
It turned out that bottle.py is not backwards-compatible with the status code
change: older versions encode the status in e.status; newer ones use
e.status_code (and e.status became a string).
This patch works around that by trying to pick up which of the two variants we
have, and deciding accordingly.
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
Diffstat (limited to 'git.py')
0 files changed, 0 insertions, 0 deletions