diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2018-02-13 10:13:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-02-13 10:13:36 +0000 |
commit | 5387e9adab29aa72a0cbdea0615799eccaf6781d (patch) | |
tree | 66aca6a665ba9ed5772e937f6511d54dcbb0177f /functest/utils/config.py | |
parent | fb85975fee7c3c67d3b10df58e4b742034fbd2ab (diff) | |
parent | 46f1037fe35bc249dca868b363107bc1bcd70469 (diff) |
Merge "Improve the way of setting values in CONST"
Diffstat (limited to 'functest/utils/config.py')
-rw-r--r-- | functest/utils/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/utils/config.py b/functest/utils/config.py index 050f12a9..c569856b 100644 --- a/functest/utils/config.py +++ b/functest/utils/config.py @@ -45,7 +45,7 @@ class Config(object): for param_n, param_v in six.iteritems(left_parametes): attr_further = self._get_attr_further(attr_now, param_n) if attr_further: - self.__setattr__(attr_further, param_v) + setattr(self, attr_further, param_v) if isinstance(param_v, dict): self._parse(attr_further, param_v) |