Browse Source

EmModel: attr_dump does not use attribut 'model' anymore

ArnAud 9 years ago
parent
commit
d7b59df745
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      EditorialModel/model.py

+ 0
- 1
EditorialModel/model.py View File

231
             for component in self.components(cls):
231
             for component in self.components(cls):
232
                 component_type = self.name_from_emclass(cls)
232
                 component_type = self.name_from_emclass(cls)
233
                 component_dump = component.attr_dump
233
                 component_dump = component.attr_dump
234
-                del component_dump['model']
235
                 # Save relations between component to apply them later
234
                 # Save relations between component to apply them later
236
                 for relation in relations.keys():
235
                 for relation in relations.keys():
237
                     if relation in component_dump and component_dump[relation]:
236
                     if relation in component_dump and component_dump[relation]:

Loading…
Cancel
Save