Browse Source

Merge branch 't49'

Roland Haroutiounian 9 years ago
parent
commit
8d7062e670
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      EditorialModel/components.py

+ 1
- 1
EditorialModel/components.py View File

56
     ## @brief Return a dict with attributes name as key and attributes value as value
56
     ## @brief Return a dict with attributes name as key and attributes value as value
57
     # @note Used at creation and deletion to call the migration handler
57
     # @note Used at creation and deletion to call the migration handler
58
     def attr_dump(self):
58
     def attr_dump(self):
59
-        return {fname: fval.__str__() for fname, fval in self.__dict__.items() if not (fname.startswith('_') or (fname == 'uid'))}
59
+        return {fname: fval.__str__() for fname, fval in self.__dict__.items() if not (fname.startswith('_') or (fname == 'uid') or (fname == 'model'))}
60
 
60
 
61
     @property
61
     @property
62
     ## @brief Provide a uniq name
62
     ## @brief Provide a uniq name

Loading…
Cancel
Save