mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-24 17:16:12 +01:00
Adjust error message in do_getbinaries
This is a follow-up change for commit f7918fcc10
.
This commit is contained in:
parent
e4d6e06e1c
commit
7be66bc57a
@ -6693,7 +6693,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if len(args) == 2:
|
if len(args) == 2:
|
||||||
architecture = args[1]
|
architecture = args[1]
|
||||||
else:
|
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))
|
repos = list(get_repos_of_project(apiurl, project))
|
||||||
if not [i for i in repos if repository == i.name]:
|
if not [i for i in repos if repository == i.name]:
|
||||||
|
Loading…
Reference in New Issue
Block a user