Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
strichter committed Jan 13, 2014
1 parent fdf0b1f commit d3d767e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mongopersist/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def get_non_persistent_state(self, obj, seen):
if id(obj) in seen:
raise interfaces.CircularReferenceError(obj)
# Add the current object to the list of seen objects.
if not (type(obj) in interfaces.REFERENCE_SAFE_TYPES) or
if not (type(obj) in interfaces.REFERENCE_SAFE_TYPES or
getattr(obj, '_m_reference_safe', False)):
seen.append(id(obj))
# Get the state of the object. Only pickable objects can be reduced.
Expand Down

0 comments on commit d3d767e

Please sign in to comment.