Fix a typo (#1813)

an -> a
This commit is contained in:
Tony Narlock 2018-06-28 10:19:48 -05:00 committed by Stefan Wójcik
parent 3cb6a5cfac
commit d0741946c7

View File

@ -715,7 +715,7 @@ class Document(BaseDocument):
except (KeyError, AttributeError): except (KeyError, AttributeError):
try: try:
# If field is a special field, e.g. items is stored as _reserved_items, # If field is a special field, e.g. items is stored as _reserved_items,
# an KeyError is thrown. So try to retrieve the field from _data # a KeyError is thrown. So try to retrieve the field from _data
setattr(self, field, self._reload(field, obj._data.get(field))) setattr(self, field, self._reload(field, obj._data.get(field)))
except KeyError: except KeyError:
# If field is removed from the database while the object # If field is removed from the database while the object