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.

As I wrote the latest Env version (using Martins work as a starting
point), I can make this change.

Should this be post-alpha?

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to