Code Review
/
releng-testresults.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0596b59
)
Use new-style classes which inherit from object in TestAPI
author
SerenaFeng
<feng.xiaowei@zte.com.cn>
Mon, 27 Feb 2017 06:44:22 +0000
(14:44 +0800)
committer
SerenaFeng
<feng.xiaowei@zte.com.cn>
Mon, 27 Feb 2017 06:44:22 +0000
(14:44 +0800)
JIRA: FUNCTEST-707
Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testapi/opnfv_testapi/common/config.py
patch
|
blob
|
history
diff --git
a/testapi/opnfv_testapi/common/config.py
b/testapi/opnfv_testapi/common/config.py
index
45e134f
..
105d4fa
100644
(file)
--- a/
testapi/opnfv_testapi/common/config.py
+++ b/
testapi/opnfv_testapi/common/config.py
@@
-23,7
+23,7
@@
class ParseError(Exception):
return 'error parsing config file : %s' % self.msg
-class APIConfig:
+class APIConfig
(object)
:
"""
The purpose of this class is to load values correctly from the config file.
Each key is declared as an attribute in __init__() and linked in parse()