1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-24 00:56:15 +01:00

Adjust error message in do_getbinaries

This is a follow-up change for commit f7918fcc10.
This commit is contained in:
Marcus Huewe 2016-11-15 14:06:33 +01:00
parent e4d6e06e1c
commit 7be66bc57a

View File

@ -6693,7 +6693,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if len(args) == 2:
architecture = args[1]
else:
raise oscerr.WrongArgs('Need either 1, 2 or 4 arguments')
raise oscerr.WrongArgs('Need either 1, 2, 3 or 4 arguments')
repos = list(get_repos_of_project(apiurl, project))
if not [i for i in repos if repository == i.name]: