dbapi.py
branchstable
changeset 8572 e54b3bc39011
parent 8571 7e5246889148
child 8573 ae0a567dff30
child 8585 3f60f416dddb
--- a/dbapi.py	Fri Sep 28 17:49:54 2012 +0200
+++ b/dbapi.py	Tue Oct 02 16:44:55 2012 +0200
@@ -104,7 +104,7 @@
         return Repository(config, TasksManager(), vreg=vreg)
     elif method == 'zmq':
         from cubicweb.zmqclient import ZMQRepositoryClient
-        return ZMQRepositoryClient(config, vreg=vreg)
+        return ZMQRepositoryClient(database)
     else: # method == 'pyro'
         # resolve the Pyro object
         from logilab.common.pyro_ext import ns_get_proxy, get_proxy