fix ObjectId repr
This commit is contained in:
parent
ab109e5a69
commit
cd2edae687
@ -60,7 +60,7 @@ class ObjectId(object):
|
||||
return self.__id
|
||||
|
||||
def __repr__(self):
|
||||
return "ObjectId('%s')" % self.__id
|
||||
return "ObjectId('%r')" % self.__id
|
||||
|
||||
def __cmp__(self, other):
|
||||
if isinstance(other, ObjectId):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user