This commit is contained in:
Mike Dirolf 2010-05-24 10:40:30 -04:00
parent 9f1db1c9ae
commit 98d91d0c10

View File

@ -355,6 +355,7 @@ class Collection(object):
.. mongodoc:: remove
"""
#TODO accept anything but dict as an _id
spec = spec_or_object_id
if spec is None:
spec = {}