Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Furr committed Aug 16, 2018
1 parent 57af372 commit b5d9bce
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions mongoengine/base/datastructures.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,6 @@ def _mark_as_changed(self, key=None):
self._instance._mark_as_changed('%s.%s' % (self._name, key))
else:
self._instance._mark_as_changed(self._name)
"""
try:
if hasattr(self._instance, '_mark_as_changed'):
if key:
self._instance._mark_as_changed('%s.%s' % (self._name, key))
else:
self._instance._mark_as_changed(self._name)
except (ReferenceError, TypeError):
pass
"""

class BaseList(list):
"""A special list so we can watch any changes."""
Expand Down

0 comments on commit b5d9bce

Please sign in to comment.