From 90eee49ab6ef5d6f35bcc6f86e3b56087b2d849c Mon Sep 17 00:00:00 2001 From: Matthew Wright Date: Thu, 19 Feb 2026 16:35:35 -0500 Subject: [PATCH] whitespace issue pt2 --- salt/manager/tools/sbin/so-yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/manager/tools/sbin/so-yaml.py b/salt/manager/tools/sbin/so-yaml.py index 82a76a810..13ece5062 100755 --- a/salt/manager/tools/sbin/so-yaml.py +++ b/salt/manager/tools/sbin/so-yaml.py @@ -211,7 +211,7 @@ def replaceListObjectByCondition(content, key, conditionField, conditionValue, n if not found: print(f"No list item found with {conditionField}={conditionValue}. No action was taken on the file.", file=sys.stderr) return 1 - + except AttributeError: print("The existing value for the given key is not a list. No action was taken on the file.", file=sys.stderr) return 1