mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-05 20:58:42 +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,
|
||||
create_new=True,
|
||||
apiurl=apiurl)
|
||||
if not data:
|
||||
# meta_exists encountered an error
|
||||
sys.exit(1)
|
||||
|
||||
if edit:
|
||||
change_is_required = True
|
||||
|
Reference in New Issue
Block a user