Revert "Detect duplicate objects with id "0""
This reverts commit 6cae2cd0a5.
This commit is contained in:
parent
73cb61fec7
commit
61bc712068
1 changed files with 1 additions and 1 deletions
|
|
@ -649,7 +649,7 @@ class ListElement(AbstractElement):
|
|||
|
||||
|
||||
def store(self, obj):
|
||||
if obj.id is not None:
|
||||
if obj.id:
|
||||
if obj.id in self.objects:
|
||||
if self.ignore_duplicate:
|
||||
self.logger.warning('There are two objects with the same ID! %s' % obj.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue