handle values containing "=" in add-tag and edit-tag
This commit is contained in:
parent
dcf8f52e8f
commit
a10aa2c326
1 changed files with 2 additions and 2 deletions
4
cli/koji
4
cli/koji
|
|
@ -4676,7 +4676,7 @@ def handle_add_tag(options, session, args):
|
|||
if options.extra:
|
||||
extra = {}
|
||||
for xopt in options.extra:
|
||||
key, value = xopt.split('=')
|
||||
key, value = xopt.split('=', 1)
|
||||
value = arg_filter(value)
|
||||
extra[key] = value
|
||||
opts['extra'] = extra
|
||||
|
|
@ -4729,7 +4729,7 @@ def handle_edit_tag(options, session, args):
|
|||
if options.extra:
|
||||
extra = {}
|
||||
for xopt in options.extra:
|
||||
key, value = xopt.split('=')
|
||||
key, value = xopt.split('=', 1)
|
||||
value = arg_filter(value)
|
||||
extra[key] = value
|
||||
opts['extra'] = extra
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue