summaryrefslogtreecommitdiffstats
path: root/lib/python/apex/deploy_settings.py
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2016-12-02 22:00:51 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-02 22:00:51 +0000
commit6b0166ef6e4673afee9589d6b55e94236a31a721 (patch)
treec6b54cb72fb99a48d5078c4c699ac24b397c4642 /lib/python/apex/deploy_settings.py
parentd9f9c45d2c2a70877a0e9dd689ddb6173501ae0d (diff)
parentffeea8b7aff158a65b5f8c7baf445c6f2206790f (diff)
Merge "Fixes using single network (previously called flat) for deploy"
Diffstat (limited to 'lib/python/apex/deploy_settings.py')
-rw-r--r--lib/python/apex/deploy_settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/apex/deploy_settings.py b/lib/python/apex/deploy_settings.py
index a27d13f1..963520a6 100644
--- a/lib/python/apex/deploy_settings.py
+++ b/lib/python/apex/deploy_settings.py
@@ -38,7 +38,7 @@ class DeploySettings(dict):
"""
def __init__(self, filename):
init_dict = {}
- if type(filename) is str:
+ if isinstance(filename, str):
with open(filename, 'r') as deploy_settings_file:
init_dict = yaml.safe_load(deploy_settings_file)
else: