aboutsummaryrefslogtreecommitdiffstats
path: root/app/app/config_binding_service/client.py
diff options
context:
space:
mode:
authorTommy Carpenter <tommy@research.att.com>2019-02-06 20:40:59 -0500
committerTommy Carpenter <tommy@research.att.com>2019-02-07 10:40:33 -0500
commit58c2dfb5bf159488dd04cae572af93c975926d1c (patch)
treefcc7154094e6033b8635d6a994b0a152952785aa /app/app/config_binding_service/client.py
parentf90acdf54d597d03f3d90865153971499f672b3b (diff)
Fix flake8 violation
Issue-ID: DCAEGEN2-1182 Change-Id: If0398a2312f27378236ed7c662a6f755800ade5c Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'app/app/config_binding_service/client.py')
-rw-r--r--app/app/config_binding_service/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/app/config_binding_service/client.py b/app/app/config_binding_service/client.py
index 93f4d69..c6a6753 100644
--- a/app/app/config_binding_service/client.py
+++ b/app/app/config_binding_service/client.py
@@ -151,7 +151,7 @@ def _replace_rels_template(rels, template_identifier):
"""
returnl = []
for rel in rels:
- if template_identifier in rel and template_identifier is not "":
+ if template_identifier in rel and template_identifier != "":
returnl.append(rel)
# returnl now contains a list of DNS names (possible empty), now resolve them (or not if they are not regustered)
return list(filter(lambda x: x is not None, map(_get_connection_info_from_consul, returnl)))