https://bugzilla.novell.com/show_bug.cgi?id=377693
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377693#c4
Michal Marek changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Michal Marek 2008-04-11 04:51:45 MST ---
Fixed with
Index: osc/core.py
===================================================================
--- osc/core.py (revision 3701)
+++ osc/core.py (working copy)
@@ -1727,6 +1727,9 @@
template_args,
create_new=True,
apiurl=apiurl)
+ if not data:
+ # meta_exists encountered an error
+ sys.exit(1)
if edit:
change_is_required = True
But I think we should get rid of these sys.exit() calls in core.py. The module
should be usable by other applications (e.g. gosc) and exiting from within the
module is not nice to them.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.