mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-28 07:26:15 +01:00
appent opts.file to args not cmd_list
prepend to args instead to cmd_list. Otherwise the changes file will be written into the given --file osc vc --file=proposed.changes package.changes
This commit is contained in:
parent
f78057e2d5
commit
c32ec4bc1c
@ -8980,8 +8980,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
raise oscerr.WrongOptions('\'%s\': is no file' % opts.file)
|
raise oscerr.WrongOptions('\'%s\': is no file' % opts.file)
|
||||||
args = list(args)
|
args = list(args)
|
||||||
if not args:
|
if not args:
|
||||||
cmd_list.append('')
|
args.append('')
|
||||||
cmd_list.append(opts.file)
|
args.append(opts.file)
|
||||||
|
|
||||||
if opts.just_edit:
|
if opts.just_edit:
|
||||||
cmd_list.append("-e")
|
cmd_list.append("-e")
|
||||||
|
Loading…
Reference in New Issue
Block a user