Skip to content

Commit

Permalink
chore: auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 26, 2024
1 parent eda9391 commit e169a73
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,12 @@ def purge(self, vrf, item):
"""Purge the VRF configuration"""
self.commands.append(f"vrf context {vrf}")
for i, value in iteritems(item.get("address_families", {})):
self.commands.append(self._tmplt.render(
{"afi": value.get("afi"), "safi": value.get("safi")},
"address_family", True)
self.commands.append(
self._tmplt.render(
{"afi": value.get("afi"), "safi": value.get("safi")},
"address_family",
True,
),
)

def _convert_to_dict(self, vrf_af_item: list, parser_item: str) -> dict:
Expand Down

0 comments on commit e169a73

Please sign in to comment.