On Mon, 11 Oct 2010 22:31:49 -0400
Rob Crittenden <rcrit...@redhat.com> wrote:

> Use context to decide which name to return on RequirementsErrors
> When a Requirement fails we throw an exception including the name of
> the field that is missing. To make the command-line friendlier we
> have a cli_name defined which may or may not match the LDAP
> attribute. This can be confusing if you are using ipalib directly
> because the attribute name missing may not match what is actually
> required (desc vs description is a good example).
> If you use the context 'cli' then it will throw exceptions using 
> cli_name. If you use any other context it will use the name of the 
> attribute.
> ticket 187
> rob

ACK, tested and pushed to master


Simo Sorce * Red Hat, Inc * New York

Freeipa-devel mailing list

Reply via email to