On 22/05/15 16:08, Gabe Alford wrote:
This should fix https://fedorahosted.org/freeipa/ticket/3584, and as
requested in the ticket, this should also fix
IMO your first part of fix only mask issue, not solving it.
This could be way, but I did not test it.
out_encoding = getattr(outfile, 'encoding', None)
if out_encoding is None:
out_encoding = 'utf-8'
print >> outfile, unicode(string).encode(out_encoding)
Can you split this patch into 2 separate patches for each ticket please?
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code