Skip to content

Commit

Permalink
Comment out try/except block
Browse files Browse the repository at this point in the history
  • Loading branch information
Furr committed Jul 13, 2018
1 parent 1955006 commit 05e0f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongoengine/base/datastructures.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def update(self, *args, **kwargs):
return super(BaseDict, self).update(*args, **kwargs)

def _mark_as_changed(self, key=None):
"""
if hasattr(self._instance, '_mark_as_changed'):
if key:
self._instance._mark_as_changed('%s.%s' % (self._name, key))
Expand All @@ -103,6 +102,7 @@ def _mark_as_changed(self, key=None):
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 05e0f5b

Please sign in to comment.