Skip to content
Snippets Groups Projects
Commit 464a88af authored by Erik Reid's avatar Erik Reid
Browse files

pep8

parent cabf55df
Branches
Tags
No related merge requests found
...@@ -77,7 +77,7 @@ def get_trap_metadata(source_equipment, interface): ...@@ -77,7 +77,7 @@ def get_trap_metadata(source_equipment, interface):
def _related_services(): def _related_services():
for related in related_interfaces(source_equipment, interface): for related in related_interfaces(source_equipment, interface):
rs = r.get('opsdb:interface_services:%s:%s' rs = r.get('opsdb:interface_services:%s:%s'
% (source_equipment, related)) % (source_equipment, related))
if rs: if rs:
for s in json.loads(rs.decode('utf-8')): for s in json.loads(rs.decode('utf-8')):
yield s yield s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment