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

pep8

parent 7d71dff1
Branches
Tags
No related merge requests found
...@@ -437,8 +437,9 @@ def lookup_lg_routers(ds: IMS): ...@@ -437,8 +437,9 @@ def lookup_lg_routers(ds: IMS):
pattern = re.compile("vpn-proxy|vrr|taas", re.IGNORECASE) pattern = re.compile("vpn-proxy|vrr|taas", re.IGNORECASE)
def _matching_node(node_): def _matching_node(node_):
# [LG-46] # [LG-46]
if InventoryStatus(node_['inventorystatusid']) != InventoryStatus.IN_SERVICE.value: if InventoryStatus(node_['inventorystatusid']) \
!= InventoryStatus.IN_SERVICE.value:
return False return False
if pattern.match(node_['name']): 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