mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-30 19:56:14 +01:00
Merge branch 'fix_osc_vc_args' of https://github.com/lethliel/osc
Follow-up fix for commit edc2bde460
("Transfer
the name of the input file to vc") - it slipped through during my review...
See also [1].
[1] https://github.com/openSUSE/osc/pull/644#issuecomment-533514712
This commit is contained in:
commit
c21f764af9
@ -8980,8 +8980,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
raise oscerr.WrongOptions('\'%s\': is no file' % opts.file)
|
||||
args = list(args)
|
||||
if not args:
|
||||
cmd_list.append('')
|
||||
cmd_list.append(opts.file)
|
||||
args.append('')
|
||||
args.append(opts.file)
|
||||
|
||||
if opts.just_edit:
|
||||
cmd_list.append("-e")
|
||||
|
Loading…
Reference in New Issue
Block a user