Skip to content

Commit

Permalink
Merge branch 'main' into comm
Browse files Browse the repository at this point in the history
  • Loading branch information
KB-perByte authored Aug 14, 2024
2 parents 8bdc20d + 62136b5 commit b8458d9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/pylint_fix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
trivial:
- Fixes pylint used-before-assignment and undefined error in the codebase.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def _compare(self, want, have):
the `want` and `have` data with the `parsers` defined
for the Prefix_lists network resource.
"""
h_parent = {}
for k, v in iteritems(want):
if k == "afi":
continue
Expand Down
1 change: 1 addition & 0 deletions plugins/module_utils/network/eos/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ def run_queue(queue, output, version):

for item in to_list(commands):
cmd_output = "text"
version = "latest"
if isinstance(item, dict):
command = item["command"]
if "output" in item:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def _tmplt_route_map_extcommunity_soo(config_data):

def _tmplt_route_map_ip(config_data):
config_data = config_data["entries"]["set"]
command = ""
if config_data.get("ip"):
command = "set ip next-hop "
k = "ip"
Expand Down

0 comments on commit b8458d9

Please sign in to comment.