Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:ALP:Source:Standard:0.1
salt
read-repo-info-without-using-interpolation-bsc-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File read-repo-info-without-using-interpolation-bsc-11356.patch of Package salt
From c27ac9afb6bd13fc26fc440e0a097bbb82cbb640 Mon Sep 17 00:00:00 2001 From: Mihai Dinca <mdinca@suse.de> Date: Thu, 7 Nov 2019 15:11:49 +0100 Subject: [PATCH] Read repo info without using interpolation (bsc#1135656) --- salt/modules/zypperpkg.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/salt/modules/zypperpkg.py b/salt/modules/zypperpkg.py index dd836b7ad0..32e22ce9a8 100644 --- a/salt/modules/zypperpkg.py +++ b/salt/modules/zypperpkg.py @@ -1121,7 +1121,9 @@ def _get_repo_info(alias, repos_cfg=None, root=None): Get one repo meta-data. """ try: - meta = dict((repos_cfg or _get_configured_repos(root=root)).items(alias)) + meta = dict( + (repos_cfg or _get_configured_repos(root=root)).items(alias, raw=True) + ) meta["alias"] = alias for key, val in meta.items(): if val in ["0", "1"]: -- 2.37.3
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