This commit is contained in:
Mike Dirolf 2009-01-09 11:04:43 -05:00
parent f2bb229e89
commit 752630e2da

View File

@ -60,7 +60,7 @@ class ObjectId(object):
return self.__id
def __repr__(self):
return "ObjectId('%r')" % self.__id
return "ObjectId(%r)" % self.__id
def __cmp__(self, other):
if isinstance(other, ObjectId):