From a487f19e6a0ed6b4b7e987e5b6d90852050eb2d9 Mon Sep 17 00:00:00 2001 From: Alberto Planas Date: Mon, 16 Nov 2020 10:37:29 +0100 Subject: [PATCH] pkgrepo: support Python 2.7 function call (#295) --- salt/states/pkgrepo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/states/pkgrepo.py b/salt/states/pkgrepo.py index 6c42d17d32..504f1425c7 100644 --- a/salt/states/pkgrepo.py +++ b/salt/states/pkgrepo.py @@ -818,7 +818,7 @@ def migrated(name, keys=True, drop=False, method=None, **kwargs): if method == "copy": _copy_repository_to(name) else: - __salt__["pkg.mod_repo"](repo, **dict(repo_info), root=name) + __salt__["pkg.mod_repo"](repo, root=name, **dict(repo_info)) for repo, _ in repos_to_drop: __salt__["pkg.del_repo"](repo, root=name) -- 2.28.0