diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-02-27 14:44:22 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-02-27 14:44:22 +0800 |
commit | eef135c3b06fe126e6a3cff08971973018b18fe0 (patch) | |
tree | 27e14aa5f735f7171d1564504c407a03eaa527df /testapi | |
parent | 0596b593b7486e9e7509c34855f2c31fcd5ab9a2 (diff) |
Use new-style classes which inherit from object in TestAPI
JIRA: FUNCTEST-707
Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi')
-rw-r--r-- | testapi/opnfv_testapi/common/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/common/config.py b/testapi/opnfv_testapi/common/config.py index 45e134f..105d4fa 100644 --- 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() |