[Freeipa-devel] [PATCH] Fix output of commands, that do not return entries.

Pavel Zůna pzuna at redhat.com
Wed Mar 24 11:08:13 UTC 2010


This patch fixes Command.output_for_cli for the env plugin. Before we 
assumed, that a list/tuple is always a list of entries and a dict is 
always an entry.

Still, this solution isn't perfect. I think, that in the future, we 
should allow Output subclasses to control the way we output values 
instead of doing type-based output in Command.output_for_cli.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-output-for-commands-that-do-not-return-entries.patch
Type: application/mbox
Size: 2042 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100324/2f938849/attachment.mbox>


More information about the Freeipa-devel mailing list