mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 18:46:17 +01: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:
parent
e9176c7513
commit
0835580d59
@ -1727,6 +1727,9 @@ def edit_meta(metatype,
|
||||
template_args,
|
||||
create_new=True,
|
||||
apiurl=apiurl)
|
||||
if not data:
|
||||
# meta_exists encountered an error
|
||||
sys.exit(1)
|
||||
|
||||
if edit:
|
||||
change_is_required = True
|
||||
|
Loading…
Reference in New Issue
Block a user