Permalink
Browse files

fix DictDB/MongoDB arguments disagreement

  • Loading branch information...
1 parent a514d13 commit d865e85bc0113230874ced0720e5669c95579076 @minrk minrk committed Feb 19, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 IPython/zmq/parallel/dictdb.py
  2. +1 −1 IPython/zmq/parallel/hub.py
@@ -90,7 +90,7 @@ class DictDB(BaseDB):
"""
_records = None
- def __init__(self):
+ def __init__(self, *args, **kwargs):
self._records = dict()
def _match_one(self, rec, tests):
@@ -237,7 +237,7 @@ def construct_hub(self):
sub = ZMQStream(sub, loop)
# connect the db
- self.db = import_item(self.db_class)()
+ self.db = import_item(self.db_class)(self.session.session)
time.sleep(.25)
# build connection dicts

0 comments on commit d865e85

Please sign in to comment.