[Yum-devel] [PATCH] yum list <pattern> gets a failure exit code
James Antill
jantill at redhat.com
Tue Jul 31 19:59:01 UTC 2007
On Tue, 2007-07-31 at 15:46 -0400, seth vidal wrote:
> yum list FOO BAR
>
> and FOO exists but BAR does not exist
>
> you'll end up with a success code.
>
> is that what we want?
Maybe not, I chose that way because it was the easiest way out ...
working out the correct thing for each argument required a lot more code
changes.
> /me hates partial failure result codes
I can change it to fail if anything doesn't match, but it'll require a
dict for each argument ... and changing returnPkgLists() etc. Upto you.
--
James Antill <jantill at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070731/095974e8/attachment.pgp
More information about the Yum-devel
mailing list