From 430c462f34eb4eedf2384e06fbee8dc19b8026f6 Mon Sep 17 00:00:00 2001 From: Andre Sencioles Date: Fri, 29 Jun 2018 15:24:47 +1200 Subject: [PATCH] Fix issue #48367 using the same approach as PR #46776 --- salt/proxy/fx2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/proxy/fx2.py b/salt/proxy/fx2.py index cb6ef9d480..360e5ae8ce 100644 --- a/salt/proxy/fx2.py +++ b/salt/proxy/fx2.py @@ -328,7 +328,7 @@ def chconfig(cmd, *args, **kwargs): ''' # Strip the __pub_ keys...is there a better way to do this? - for k in kwargs: + for k in list(kwargs): if k.startswith('__pub_'): kwargs.pop(k)