Code Review
/
functest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Enhance variable manipulation in rally"
[functest.git]
/
functest
/
utils
/
constants.py
diff --git
a/functest/utils/constants.py
b/functest/utils/constants.py
index
cb3ea78
..
c19e0fc
100644
(file)
--- a/
functest/utils/constants.py
+++ b/
functest/utils/constants.py
@@
-12,9
+12,9
@@
class Constants(object): # pylint: disable=too-few-public-methods
def __init__(self):
for attr_n, attr_v in six.iteritems(config.CONF.__dict__):
def __init__(self):
for attr_n, attr_v in six.iteritems(config.CONF.__dict__):
- se
lf.__setattr__(
attr_n, attr_v)
+ se
tattr(self,
attr_n, attr_v)
for env_n, env_v in six.iteritems(env.ENV.__dict__):
for env_n, env_v in six.iteritems(env.ENV.__dict__):
- se
lf.__setattr__(
env_n, env_v)
+ se
tattr(self,
env_n, env_v)
CONST = Constants()
CONST = Constants()