Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
salt.21002
pkgrepo-support-python-2.7-function-call-295.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pkgrepo-support-python-2.7-function-call-295.patch of Package salt.21002
From 4a733724bd1af4f91ac575bfd0bc6fa0ac8e7831 Mon Sep 17 00:00:00 2001 From: Alberto Planas <aplanas@suse.com> 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 d734bb9de9..852fc015b6 100644 --- a/salt/states/pkgrepo.py +++ b/salt/states/pkgrepo.py @@ -853,7 +853,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.29.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor