On Fri, 2011-07-15 at 11:22 -0400, Seth Vidal wrote: > --- > yum/packages.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/yum/packages.py b/yum/packages.py > index 5ef9951..4b1265c 100644 > --- a/yum/packages.py > +++ b/yum/packages.py > @@ -1217,7 +1217,7 @@ class YumAvailablePackage(PackageObject, RpmBase): > prcostring += ''' ver="%s"''' % misc.to_xml(v, > attrib=True) > if r: > prcostring += ''' rel="%s"''' % misc.to_xml(r, > attrib=True) > - if pre: > + if pre == "1": > prcostring += ''' pre="%s"''' % pre
It might be worth making that 'pre != "0"', just in case ... but I'm not too bothered. ACK. _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
