Skip to content

Commit

Permalink
fix edge-case in openvpn-client
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Dec 7, 2024
1 parent b3c5046 commit 87eeba7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/module_utils/helper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,11 @@ def format_int(data: (int, str)) -> (int, str):
def sort_param_lists(params: dict) -> None:
for k in params:
if isinstance(params[k], list):
params[k].sort()
try:
params[k].sort()

except TypeError:
pass

# pylint: disable=R0914,R0915
def simplify_translate(
Expand Down

0 comments on commit 87eeba7

Please sign in to comment.