better comment

This commit is contained in:
Stefan Wojcik 2013-06-06 17:21:27 -07:00
parent c2928d8a57
commit 305540f0fd

View File

@ -596,7 +596,7 @@ class Document(BaseDocument):
if index not in indexes:
indexes.append(index)
# finish up by appending _id, if needed
# finish up by appending { '_id': 1 } and { '_cls': 1 }, if needed
if go_up and go_down:
if [(u'_id', 1)] not in indexes:
indexes.append([(u'_id', 1)])