On Thu, Feb 3, 2011 at 6:55 AM, Seth Vidal <[email protected]>wrote:
> ---
> yum/packages.py | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/yum/packages.py b/yum/packages.py
> index 6f61fea..15eeeaa 100644
> --- a/yum/packages.py
> +++ b/yum/packages.py
> @@ -1069,6 +1069,9 @@ class YumAvailablePackage(PackageObject, RpmBase):
>
> if self.sourcerpm:
> msg += """ <rpm:sourcerpm>%s</rpm:sourcerpm>\n""" %
> misc.to_xml(self.sourcerpm)
> + else: # b/c yum 2.4.3 and OLD y-m-p willgfreak out if it is not
> there.
> + msg += """ <rpm:sourcerpm/>\n"""
> +
> msg +=""" <rpm:header-range start="%s" end="%s"/>""" %
> (self.hdrstart,
> self.hdrend)
> msg += self._dump_pco('provides')
> --
> 1.7.3.4
>
> _______________________________________________
> Yum-devel mailing list
> [email protected]
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>
ACK
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel