Skip to content
Snippets Groups Projects
Commit 9b5a5abc authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: remove did not work if an object is passed

parent a2b1e848
Branches
Tags
No related merge requests found
...@@ -1599,6 +1599,7 @@ class _Properties(list): ...@@ -1599,6 +1599,7 @@ class _Properties(list):
if isinstance(prop, Entity): if isinstance(prop, Entity):
if prop in self: if prop in self:
list.remove(self, prop) list.remove(self, prop)
return
else: else:
if prop.id is not None: if prop.id is not None:
# by id # by id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment