On Fri, 2010-11-05 at 16:47 +0200, Ville Skyttä wrote: > Useful for example for downloadonly, BZ 531323. > --- > yum/plugins.py | 5 +++-- > yummain.py | 2 +- > 2 files changed, 4 insertions(+), 3 deletions(-)
There are two things with this: 1. We have RFE's for us having a documented list of return codes for yum cli, and what they mean. Letting plugins just do random stuff would make that less useful (assuming we ever did it). Maybe a better idea is to have a map of valid errors, and they pass text: success = 0 error = 1 confused = 3 todo = 100 2. Might as well add something to stop the message too. _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel