Commit f776042a authored by Jim Fulton's avatar Jim Fulton

Took out 1.4 exceptions.

parent 11da64b5
...@@ -71,7 +71,7 @@ that allows one to simply make a single web request. ...@@ -71,7 +71,7 @@ that allows one to simply make a single web request.
The module also provides a command-line interface for calling objects. The module also provides a command-line interface for calling objects.
""" """
__version__='$Revision: 1.18 $'[11:-2] __version__='$Revision: 1.19 $'[11:-2]
import sys, regex, socket, mimetools import sys, regex, socket, mimetools
from httplib import HTTP from httplib import HTTP
...@@ -367,10 +367,8 @@ Unauthorized ='bci.Unauthorized' ...@@ -367,10 +367,8 @@ Unauthorized ='bci.Unauthorized'
ServerError ='bci.ServerError' ServerError ='bci.ServerError'
NotAvailable ='bci.NotAvailable' NotAvailable ='bci.NotAvailable'
exceptmap ={'AccessError' :AccessError, exceptmap ={'AttributeError' :AttributeError,
'AttributeError' :AttributeError,
'BadRequest' :BadRequest, 'BadRequest' :BadRequest,
'ConflictError' :ConflictError,
'EOFError' :EOFError, 'EOFError' :EOFError,
'IOError' :IOError, 'IOError' :IOError,
'ImportError' :ImportError, 'ImportError' :ImportError,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment