summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/common/config.py
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2017-10-27 08:33:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-27 08:33:27 +0000
commit690b3d6ea4882a44c0a7fcbfc9076db0debebfdf (patch)
tree9b286cbbb0cf2ebb4e6f2bb1b51c964d2f120e0d /utils/test/testapi/opnfv_testapi/common/config.py
parent80090542b74e3140c0831386a8433cbb144c6ada (diff)
parent47bb8fa27b0636f77062c1c1d3ba338e31c14b5b (diff)
Merge "bugfix: E722 do not use bare except"
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/common/config.py')
-rw-r--r--utils/test/testapi/opnfv_testapi/common/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/testapi/opnfv_testapi/common/config.py b/utils/test/testapi/opnfv_testapi/common/config.py
index 140e49283..f888b07be 100644
--- a/utils/test/testapi/opnfv_testapi/common/config.py
+++ b/utils/test/testapi/opnfv_testapi/common/config.py
@@ -44,7 +44,7 @@ class Config(object):
def _parse_value(value):
try:
value = int(value)
- except:
+ except Exception:
if str(value).lower() == 'true':
value = True
elif str(value).lower() == 'false':