[Freeipa-devel] [PATCH] Fix File parameter validation when prompting.

Jason Gerard DeRose jderose at redhat.com
Thu Jan 28 23:56:09 UTC 2010


On Wed, 2010-01-27 at 17:53 +0100, Pavel Zuna wrote:
> cli.prompt_interactively now loads files before validating the parameter value. 
> It also populates a list of already loaded files, so that cli.load_files knows 
> when a parameter already contains the file contents.
> 
> Fix #557163
> 
> Pavel

ack.

This looks reasonable to me, but I'd really like you to add some tests
for this, especially testing that it works correctly for a command with
multiple File params.

Rob and John, do you see any problems with this approach?  Does this
address the needs of the cert plugins?




More information about the Freeipa-devel mailing list