Skip to content

Commit

Permalink
Fix for unformed relations
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Smith committed Jan 23, 2017
1 parent 5783b87 commit c88dbc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acitoolkit/acitoolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4975,6 +4975,8 @@ def _populate_interface_info(self, working_data):
for child in children:
for child_item in child:
if child_item in ['fvRsCEpToPathEp', 'fvRsStCEpToPathEp']:
if child[child_item]['attributes']['state'] != 'formed':
continue
if_dn = str(child[child_item]['attributes']['tDn'])
if 'protpaths' in if_dn:
regex = re.search(r'pathep-\[(.+)\]$', if_dn)
Expand Down

0 comments on commit c88dbc5

Please sign in to comment.