Hi,

I'm developing a plugin and one annoyance I found is that current way of exiting from yum is via "raise PluginYumExit(...)" which makes yum return exit code 1 - same as when error occurs. Without resorting to "sys.exit(0)" is there another way to gracefully stop Yum execution? When my plugin kicks in - it may decide to forgo "install" phase (and later phases) and stop after download based on certain criteria. However with above issue it's hard to script things, and the only way around I found is to inspect Yum output and send something there by plugin indicating things are OK. But that is far from optimal.

--
   This communication is intended for the use of the recipient to whom it
   is addressed, and may contain confidential, personal, and or privileged
   information. Please contact us immediately if you are not the intended
   recipient of this communication, and do not copy, distribute, or take
   action relying on it. Any communications received in error, or
   subsequent reply, should be deleted or destroyed.
---
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to