From 5f002b429bfba9cf51a92d529d067d9cc6b9160c Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Mon, 2 Jun 2008 23:25:14 +0000 Subject: svn merge -r88806:88810 svn+ssh://svn.lindenlab.com/svn/linden/branches/escrow/liquid-banjo-05 into release --- indra/lib/python/indra/ipc/llsdhttp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/lib/python/indra/ipc/llsdhttp.py b/indra/lib/python/indra/ipc/llsdhttp.py index 12d759d3a0..f5cb2c34d4 100644 --- a/indra/lib/python/indra/ipc/llsdhttp.py +++ b/indra/lib/python/indra/ipc/llsdhttp.py @@ -48,7 +48,8 @@ put_ = suite.put_ request = suite.request request_ = suite.request_ -for x in (httpc.ConnectionError, httpc.NotFound, httpc.Forbidden): +# import every httpc error exception into our namespace for convenience +for x in httpc.status_to_error_map.itervalues(): globals()[x.__name__] = x -- cgit v1.2.3