1
0
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:
Marcus Huewe 2011-02-17 01:57:53 +01:00
parent e493771454
commit da0e4bae30

View File

@ -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]