mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- fixed do_service
This commit is contained in:
parent
e493771454
commit
da0e4bae30
@ -4726,11 +4726,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
raise oscerr.WrongArgs('Too few arguments.')
|
||||
if len(args) == 2:
|
||||
singleservice = args[1]
|
||||
elif len(args) == 3 and command == "remoterun":
|
||||
elif len(args) == 3 and args[0] == 'remoterun':
|
||||
project = args[1]
|
||||
package = args[2]
|
||||
else:
|
||||
raise oscerr.WrongArgs('Too few arguments.')
|
||||
raise oscerr.WrongArgs('Too many arguments.')
|
||||
|
||||
command = args[0]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user