[PATCHv2] Beware of possible unicode strings (#876293)

Vratislav Podzimek vpodzime at redhat.com
Tue Dec 11 09:05:18 UTC 2012


On Mon, 2012-12-10 at 13:57 -0500, Chris Lumens wrote:
> > __str__ method should return byte string, not unicode string. But as we
> > don't have a ensure this in every KS_OBJECT.__str__ method, let's add
> > encode("utf-8") call to the result if it is a unicode string.
> > 
> > Also add test for these issues.
> 
> Thanks for adding the test case.  I think this should be fine.
> 
> This is for master, and not for F18 correct?
Well, I'm not sure. It is neither a blocker nor NTH, but F18
installations may hit the bug and end up with a traceback (though
leaving a completely installed system, I guess).

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list