Skip to content

Commit

Permalink
fix DictDB/MongoDB arguments disagreement
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Apr 8, 2011
1 parent a514d13 commit d865e85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion IPython/zmq/parallel/dictdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion IPython/zmq/parallel/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d865e85

Please sign in to comment.