Skip to content
Snippets Groups Projects
Commit 15a28e61 authored by Robert Latta's avatar Robert Latta
Browse files

Removed redundant lines

parent 6b5c2b3a
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,6 @@ def ix_peering_info(peer_info):
description = peer_info['description']
assert description is not None # sanity
protocol = type(address).__name__
keyword = description.split(' ')[0] # regex needed??? (e.g. tabs???)
r = common.get_current_redis()
......@@ -170,8 +169,6 @@ def ix_peering_info(peer_info):
other = r.get(k.decode('utf-8')).decode('utf-8')
other = json.loads(other)
peer_address = ipaddress.ip_address(other['name'])
if other['router'] == peer_info['router']:
result['router'].append(other['name'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment