1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-06-16 07:20:48 +02:00

EmModel: attr_dump does not use attribut 'model' anymore

This commit is contained in:
ArnAud 2015-09-18 15:02:14 +02:00
commit d7b59df745

View file

@ -231,7 +231,6 @@ class Model(object):
for component in self.components(cls):
component_type = self.name_from_emclass(cls)
component_dump = component.attr_dump
del component_dump['model']
# Save relations between component to apply them later
for relation in relations.keys():
if relation in component_dump and component_dump[relation]: