Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
virtme
0006-Minor-sanitize_disk_args-cleanup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0006-Minor-sanitize_disk_args-cleanup.patch of Package virtme
From 88cd30f073714bd097d83bc7a6b028c0e4bf7a2b Mon Sep 17 00:00:00 2001 From: Andy Lutomirski <luto@kernel.org> Date: Mon, 20 Jul 2020 16:32:14 -0700 Subject: [PATCH 6/6] Minor sanitize_disk_args() cleanup 'foo %s bar' % (baz) doesn't need parentheses. Signed-off-by: Andy Lutomirski <luto@kernel.org> --- virtme/commands/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtme/commands/run.py b/virtme/commands/run.py index d900b41..f9ee4dd 100644 --- a/virtme/commands/run.py +++ b/virtme/commands/run.py @@ -263,7 +263,7 @@ def quote_karg(arg: str) -> str: def sanitize_disk_args(func: str, arg: str) -> Tuple[str, str]: namefile = arg.split('=', 1) if len(namefile) != 2: - arg_fail('invalid argument to %s' % (func)) + arg_fail('invalid argument to %s' % func) name, fn = namefile if '=' in fn or ',' in fn: arg_fail("%s filenames cannot contain '=' or ','" % (func)) -- 2.27.0
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