[systemd-devel] [PATCH]: fix doc generation with python3.x in non utf-8 locales

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Mar 29 17:25:37 PDT 2013

On Fri, Mar 29, 2013 at 03:25:23PM +0100, Zbigniew Jędrzejewski-Szmek wrote:
> On Tue, Mar 26, 2013 at 05:00:23PM -0600, Kelly Anderson wrote:
> > Hi,
> > 
> > Here is a patch that fixed documentation with python 3.x in non
> > utf-8 locales.
> > Specifically in my locale latin-1 is the default setting for output
> > going to stdout,
> > which causes it to fail. By writing directly to file we are able to
> > set the locale to utf-8.
> > This also eliminates a call to tree.dump which has been deprecated and was
> > intended for debug use only.
> Hi,
> that's a good fix. Unfortunately the patch is garbled. Could you
> resend the patch so that it applies cleanly?
never mind. I needed to change this code anyways, so I pulled incorporated
your patch in my changes, and applied the rest by hand. I'll push it in
a moment.


More information about the systemd-devel mailing list