[pykickstart] [PATCH] Beware of possibly unicode strings (#876293)

Samantha N. Bueno sbueno+anaconda at redhat.com
Fri Nov 30 13:24:02 UTC 2012


On Fri, Nov 30, 2012 at 12:13:16PM +0100, Vratislav Podzimek wrote:
> __str__ method should return byte string, not unicode string. But
> as we don't have a check in every KS_OBJECT.__str__ method, let's at
> least add try-except block to prevent UnicodeDecodeError tracebacks.

Looks good to me.

Samantha


More information about the anaconda-patches mailing list