[Freeipa-devel] [PATCHES] Bring back old outputting functionality

Jason Gerard DeRose jderose at redhat.com
Wed Feb 10 16:57:01 UTC 2010


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?




More information about the Freeipa-devel mailing list