Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
salt.3314
0021-do-not-change-kwargs-in-refresh-while-chec...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0021-do-not-change-kwargs-in-refresh-while-checking-a-val.patch of Package salt.3314
From ea6898f82ddc21c73f3ea369e6af241753a2ceda Mon Sep 17 00:00:00 2001 From: Michael Calmer <mc@suse.de> Date: Mon, 22 Feb 2016 09:51:01 +0100 Subject: [PATCH 21/22] do not change kwargs in refresh while checking a value --- salt/modules/zypper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py index e2cd5f9..1499b27 100644 --- a/salt/modules/zypper.py +++ b/salt/modules/zypper.py @@ -200,7 +200,7 @@ def info_available(*names, **kwargs): names = sorted(list(set(names))) # Refresh db before extracting the latest package - if kwargs.pop('refresh', True): + if kwargs.get('refresh', True): refresh_db() pkg_info = [] -- 2.1.4
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