Selaa lähdekoodia

EmModel: _initiated attribut does not exist anymore in attr_dump

ArnAud 9 vuotta sitten
vanhempi
commit
cdf31218f6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      EditorialModel/model.py

+ 1
- 1
EditorialModel/model.py Näytä tiedosto

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

Loading…
Peruuta
Tallenna