Permalink
Browse files

fix get() in mongods

  • Loading branch information...
1 parent da2fc57 commit c5ce922407a88c82ef1b5ecfb9765f94875b443c @muromec muromec committed Mar 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 hopak/ds/mongo.py
View
@@ -18,7 +18,7 @@ def save(self, kind, data, _id=None):
else:
return col.insert(data)
- def get(self, id):
+ def get(self, _id):
return self.conn.db.find({"_id": _id})
def remove(self, kind, fltr):

0 comments on commit c5ce922

Please sign in to comment.