diff --git a/objectid.py b/objectid.py index 7b5d471ed..dfa9cb429 100644 --- a/objectid.py +++ b/objectid.py @@ -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):