Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
salt.3514
0022-fix-argument-handling-for-pkg.download.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0022-fix-argument-handling-for-pkg.download.patch of Package salt.3514
From c9bab6bb32f9ca2e65b6e0c24283146b66bf91be Mon Sep 17 00:00:00 2001 From: Michael Calmer <mc@suse.de> Date: Tue, 23 Feb 2016 11:46:09 +0100 Subject: [PATCH 22/22] fix argument handling for pkg.download --- salt/modules/zypper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py index 1499b27..33e5da9 100644 --- a/salt/modules/zypper.py +++ b/salt/modules/zypper.py @@ -1381,7 +1381,7 @@ def list_products(all=False, refresh=False): return ret -def download(refresh=False, *packages): +def download(*packages, **kwargs): """ Download packages to the local disk. @@ -1397,6 +1397,7 @@ def download(refresh=False, *packages): salt '*' pkg.download httpd salt '*' pkg.download httpd postfix """ + refresh = kwargs.get('refresh', False) if not packages: raise CommandExecutionError("No packages has been specified.") -- 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