On Wed, 2011-09-28 at 12:17 -0400, seth vidal wrote:
> On Wed, 2011-09-28 at 12:05 -0400, James Antill wrote:
> > ---
> >  yum/__init__.py |   28 ++++++++++++++++++++++++++++
> >  1 files changed, 28 insertions(+), 0 deletions(-)
> > 
> > diff --git a/yum/__init__.py b/yum/__init__.py
> > index 5fb7c00..cc968fd 100644
> > --- a/yum/__init__.py
> > +++ b/yum/__init__.py
> > @@ -3459,6 +3459,34 @@ class YumBase(depsolve.Depsolve):
> >  
> >          return self.rpmdb.getProvides(depname, depflags, depver).keys()
> 
> 
> Why?
> 
> Why not just use repoquery?

 Just seemed easier to extend a command people know about, my only real
worry was people using it in scripting and being confused about any
difference in output (hence why I tried to change it as little as
possible).
 Feel free to NAK it if you think we should just leave it alone and
forget about it though.

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to