From: SerenaFeng Date: Mon, 27 Feb 2017 06:44:22 +0000 (+0800) Subject: Use new-style classes which inherit from object in TestAPI X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=eef135c3b06fe126e6a3cff08971973018b18fe0;p=releng-testresults.git Use new-style classes which inherit from object in TestAPI JIRA: FUNCTEST-707 Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903 Signed-off-by: SerenaFeng --- 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()