From eef135c3b06fe126e6a3cff08971973018b18fe0 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Mon, 27 Feb 2017 14:44:22 +0800 Subject: Use new-style classes which inherit from object in TestAPI JIRA: FUNCTEST-707 Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903 Signed-off-by: SerenaFeng --- testapi/opnfv_testapi/common/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testapi/opnfv_testapi/common/config.py') 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() -- cgit 1.2.3-korg