21 Apr
2008
21 Apr
'08
16:14
Jan Kupec wrote:
Hi,
I'm just fixing some zypper queries and started to use the following function to print the patch status. Is it right?
string string_ppp_status(const PoolItem & pi) { if (pi.isRelevant()) { if (pi.isSatisfied()) return _("Installed"); if (pi.isBroken()) return _("Needed"); // can this ever happen? return ""; }
return _("Not Applicable"); }
Q: what should isRelevant() return for patterns/products?
jano
I think isBroken has no meaning now, as the patch is never installed, and broken meant installed & !satisfied -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org