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-Tag: danube.1.0~201^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=0e5b6741f1dea91cfddbc92553e68a7e1e1fdb3a;p=releng.git Use new-style classes which inherit from object in TestAPI JIRA: FUNCTEST-707 Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903 Signed-off-by: SerenaFeng --- diff --git a/utils/test/testapi/opnfv_testapi/common/config.py b/utils/test/testapi/opnfv_testapi/common/config.py index 45e134fc1..105d4fabf 100644 --- a/utils/test/testapi/opnfv_testapi/common/config.py +++ b/utils/test/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()