瀏覽代碼

Merge branch 't49'

Roland Haroutiounian 9 年之前
父節點
當前提交
8d7062e670
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      EditorialModel/components.py

+ 1
- 1
EditorialModel/components.py 查看文件

@@ -56,7 +56,7 @@ class EmComponent(object):
56 56
     ## @brief Return a dict with attributes name as key and attributes value as value
57 57
     # @note Used at creation and deletion to call the migration handler
58 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 61
     @property
62 62
     ## @brief Provide a uniq name

Loading…
取消
儲存