[Freeipa-devel] [PATCH 0239] trusts: Validate missing trust secret properly

Tomas Babej tbabej at redhat.com
Mon Jul 14 09:41:17 UTC 2014


On 07/14/2014 07:58 AM, Jan Cholasta wrote:
> On 10.7.2014 10:56, Tomas Babej wrote:
>> Hi,
>>
>> Detect the situation if the user passes empty trust secret and
>> error out properly.
>>
>> https://fedorahosted.org/freeipa/ticket/4266
>
> IMO this is less ugly:
>
> +            raise errors.ValidationError(
> +                name=_('AD Trust setup'),
> +                error=_('Not enough arguments specified to perform
> trust '
> +                        'setup'))
>

Sure, fixed.

-- 
Tomas Babej
Associate Software Engineer | Red Hat | Identity Management
RHCE | Brno Site | IRC: tbabej | freeipa.org 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-tbabej-0239-2-trusts-Validate-missing-trust-secret-properly.patch
Type: text/x-patch
Size: 1730 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140714/6d24e33b/attachment.bin>


More information about the Freeipa-devel mailing list