[Yum-devel] [PATCH] new dump_xml methods for repodata and repomd and related changes

Seth Vidal skvidal at fedoraproject.org
Thu Apr 15 12:53:48 UTC 2010



On Wed, 14 Apr 2010, Mike Bonnet wrote:
>> +            rev = """ <revision>%s</revision>\n""" % self.revision
>> +            msg += rev
>
> We're sure self.revision will never be a unicode object?  Maybe it needs
> a to_xml() also?  Unexpected coercions to unicode were a major source of
> problems with mergerepos in Koji, so I'm a little paranoid about this.
>

it's unlikely but non-zero chance - so I'll to_xml() it.

thanks,
-sv



More information about the Yum-devel mailing list