Jason Gerard DeRose wrote:
On Wed, 2010-02-10 at 10:30 -0500, Rob Crittenden wrote:
Pavel Zuna wrote:
What I'm saying is that the Env object stores all strings as str and the
env command uses the same output_for_cli as LDAP commands, that only use
str for binary. So, we either need to override output_for_cli or switch
to unicode in Env.
Not exactly sure what to do here though using unicode seems like the
best route.
Yes, we should store the env as `unicode`... this is something I've been
meaning to do. I originally left them as `str` because I was having
problems using `unicode` somewhere (maybe it was python-ldap), but we
should just fix this special case in the appropriate place.
That's possible, python-ldap seems to hate everything except str and list.
As I wrote the latest Env version (using Martins work as a starting
point), I can make this change.
Actually, if you didn't start on it yet. I would take this task onto
myself as I already did some experiments to see if it would work and I
should be able to have a patch by tomorrow.
Should this be post-alpha?
Pavel
_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel