File loop-fix-variable-names-for-until_no_eval.patch of Package salt.21868

From 239e897776b889105cfd6f54092100c86f52ce21 Mon Sep 17 00:00:00 2001
From: Alberto Planas <aplanas@suse.com>
Date: Tue, 24 Mar 2020 17:46:23 +0100
Subject: [PATCH] loop: fix variable names for until_no_eval

---
 salt/states/loop.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/salt/states/loop.py b/salt/states/loop.py
index de37b7d60c..533166c5dc 100644
--- a/salt/states/loop.py
+++ b/salt/states/loop.py
@@ -182,10 +182,10 @@ def until_no_eval(
         )
     if ret["comment"]:
         return ret
-    if not m_args:
-        m_args = []
-    if not m_kwargs:
-        m_kwargs = {}
+    if not args:
+        args = []
+    if not kwargs:
+        kwargs = {}
 
     if init_wait:
         time.sleep(init_wait)
-- 
2.29.2


openSUSE Build Service is sponsored by