[Freeipa-devel] [PATCH] 990 attribute name in exceptions

Rob Crittenden rcritten at redhat.com
Fri Mar 16 21:23:38 UTC 2012


When using *attr we should return the param.name of in the exception and 
when using a cli option we should return param.cli_name. This didn't 
work consistently in the framework.

This is a bit of a kludge, catching exceptions and re-raising them, but 
it is a less invasive way of doing it.

I added some examples of things to test in the ticket.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-990-attribute.patch
Type: text/x-diff
Size: 5899 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120316/a8fcc56e/attachment.bin>


More information about the Freeipa-devel mailing list