diff options
-rw-r--r-- | indra/lib/python/indra/ipc/llsdhttp.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |