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.


Attachment: 0001-Fix-output-for-commands-that-do-not-return-entries.patch
Description: application/mbox

Freeipa-devel mailing list

Reply via email to