> -            return zip(misc.to_unicode(self.hdr['changelogtime'], 
> errors='replace'),
> -                       misc.to_unicode(self.hdr['changelogname'], 
> errors='replace'),
> -                       misc.to_unicode(self.hdr['changelogtext'], 
> errors='replace'))
> +            return zip(self.hdr['changelogtime'],
> +                       self.hdr['changelogname'],
> +                       self.hdr['changelogtext'])

> This is changing the types we are returning too.

Just a note, changelogtime is integer, so to_unicode() had no effect 
whatsoever...
I think the risk of breaking stuff by changing types of .changelog is small.
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to