mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 02:16:12 +01:00
- minor cleanup
This commit is contained in:
parent
d55c16cce4
commit
95a6643769
@ -3324,10 +3324,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
# * request repos from server and select by build type.
|
# * request repos from server and select by build type.
|
||||||
if not arg_descr and len(descr) == 1:
|
if not arg_descr and len(descr) == 1:
|
||||||
arg_descr = descr[0]
|
arg_descr = descr[0]
|
||||||
|
elif not arg_descr:
|
||||||
if not arg_descr:
|
|
||||||
if len(descr) > 1:
|
if len(descr) > 1:
|
||||||
msg = 'Multiple build description files found: %s' % (", ".join(descr), )
|
msg = 'Multiple build description files found: %s' % ', '.join(descr)
|
||||||
else:
|
else:
|
||||||
msg = 'Missing argument: build description (spec, dsc or kiwi file)'
|
msg = 'Missing argument: build description (spec, dsc or kiwi file)'
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user