dbapi.py
changeset 8702 d47089677d44
parent 8695 358d8bed9626
child 8744 2091d275fe5c
--- a/dbapi.py	Mon Feb 25 11:18:14 2013 +0100
+++ b/dbapi.py	Mon Feb 11 11:26:08 2013 +0100
@@ -103,15 +103,6 @@
     The returned repository may be an in-memory repository or a proxy object
     using a specific RPC method, depending on the given URI (pyro or zmq).
     """
-    try:
-        return _get_repository(uri, config, vreg)
-    except ConnectionError:
-        raise
-    except Exception as exc:
-        raise ConnectionError('cause: %r' % exc)
-
-def _get_repository(uri=None, config=None, vreg=None):
-    """ implements get_repository (see above) """
     if uri is None:
         return _get_inmemory_repo(config, vreg)