mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-11 17:54:06 +02:00
Abort if meta_exists encounters an unexpected error (bnc#377693).
The correct fix is to propagate this to commandline.py and exit() there.
This commit is contained in:
@@ -1727,6 +1727,9 @@ def edit_meta(metatype,
|
|||||||
template_args,
|
template_args,
|
||||||
create_new=True,
|
create_new=True,
|
||||||
apiurl=apiurl)
|
apiurl=apiurl)
|
||||||
|
if not data:
|
||||||
|
# meta_exists encountered an error
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
if edit:
|
if edit:
|
||||||
change_is_required = True
|
change_is_required = True
|
||||||
|
Reference in New Issue
Block a user