From e6de8b7a8b6524afa00b423cca74dc51b8d61f56 Mon Sep 17 00:00:00 2001 From: Roland Haroutiounian Date: Fri, 18 Sep 2015 14:00:44 +0200 Subject: [PATCH] [#49] Changed the value format used for the component in its attr_dump method --- EditorialModel/components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EditorialModel/components.py b/EditorialModel/components.py index 67cc041..3c5b09c 100644 --- a/EditorialModel/components.py +++ b/EditorialModel/components.py @@ -56,7 +56,7 @@ class EmComponent(object): ## @brief Return a dict with attributes name as key and attributes value as value # @note Used at creation and deletion to call the migration handler def attr_dump(self): - return {fname: fval for fname, fval in self.__dict__.items() if not (fname.startswith('_') or (fname == 'uid'))} + return {fname: fval.__str__() for fname, fval in self.__dict__.items() if not (fname.startswith('_') or (fname == 'uid'))} @property ## @brief Provide a uniq name