##// END OF EJS Templates
fix DictDB/MongoDB arguments disagreement
MinRK -
Show More
@@ -90,7 +90,7 b' class DictDB(BaseDB):'
90 """
90 """
91 _records = None
91 _records = None
92
92
93 def __init__(self):
93 def __init__(self, *args, **kwargs):
94 self._records = dict()
94 self._records = dict()
95
95
96 def _match_one(self, rec, tests):
96 def _match_one(self, rec, tests):
@@ -237,7 +237,7 b' class HubFactory(RegistrationFactory):'
237 sub = ZMQStream(sub, loop)
237 sub = ZMQStream(sub, loop)
238
238
239 # connect the db
239 # connect the db
240 self.db = import_item(self.db_class)()
240 self.db = import_item(self.db_class)(self.session.session)
241 time.sleep(.25)
241 time.sleep(.25)
242
242
243 # build connection dicts
243 # build connection dicts
General Comments 0
You need to be logged in to leave comments. Login now