Skip to content
Snippets Groups Projects
Commit ac8c2ed1 authored by Saket Agrahari's avatar Saket Agrahari
Browse files

pep8

parent 7d71dff1
No related branches found
No related tags found
No related merge requests found
......@@ -437,8 +437,9 @@ def lookup_lg_routers(ds: IMS):
pattern = re.compile("vpn-proxy|vrr|taas", re.IGNORECASE)
def _matching_node(node_):
# [LG-46]
if InventoryStatus(node_['inventorystatusid']) != InventoryStatus.IN_SERVICE.value:
# [LG-46]
if InventoryStatus(node_['inventorystatusid']) \
!= InventoryStatus.IN_SERVICE.value:
return False
if pattern.match(node_['name']):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment