mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-02 17:56:15 +01:00
- parse_repoarchdescr: allow an unsupported arch during the guessing phase
This makes the error message in some cases more precise (for instance "osc build openSUSE_13.21 x86_641")
This commit is contained in:
parent
e662fd815b
commit
d86e28744f
@ -5388,7 +5388,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
elif not arg_repository:
|
elif not arg_repository:
|
||||||
arg_repository = arg
|
arg_repository = arg
|
||||||
else:
|
else:
|
||||||
raise oscerr.WrongArgs('\'%s\' is neither a build description nor a supported arch' % arg)
|
# raise oscerr.WrongArgs('\'%s\' is neither a build description nor a supported arch' % arg)
|
||||||
|
# take it as arch (even though this is no supported arch) - hopefully, this invalid
|
||||||
|
# arch will be detected below
|
||||||
|
arg_arch = arg
|
||||||
else:
|
else:
|
||||||
arg_repository, arg_arch, arg_descr = args
|
arg_repository, arg_arch, arg_descr = args
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user