1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-02 09:46:16 +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:
Marcus Huewe 2014-07-02 23:56:34 +02:00
parent e662fd815b
commit d86e28744f

View File

@ -5388,7 +5388,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
elif not arg_repository:
arg_repository = arg
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:
arg_repository, arg_arch, arg_descr = args