Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
salt.10418
make-aptpkg.list_repos-compatible-on-enabled-di...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File make-aptpkg.list_repos-compatible-on-enabled-disable.patch of Package salt.10418
From 3d2c713bc46b34d4414109e7a49104962ef3ffc6 Mon Sep 17 00:00:00 2001 From: Bo Maryniuk <bo@suse.de> Date: Fri, 16 Nov 2018 10:54:12 +0100 Subject: [PATCH] Make aptpkg.list_repos compatible on enabled/disabled output --- salt/modules/aptpkg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py index cef5b179b1..d7bd03627e 100644 --- a/salt/modules/aptpkg.py +++ b/salt/modules/aptpkg.py @@ -1719,6 +1719,7 @@ def list_repos(): repo['file'] = source.file repo['comps'] = getattr(source, 'comps', []) repo['disabled'] = source.disabled + repo['enabled'] = not repo['disabled'] # This is for compatibility with the other modules repo['dist'] = source.dist repo['type'] = source.type repo['uri'] = source.uri.rstrip('/') -- 2.19.1
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