[Freeipa-devel] [PATCH 0239] trusts: Validate missing trust secret properly
Jan Cholasta
jcholast at redhat.com
Mon Jul 14 09:47:41 UTC 2014
On 14.7.2014 11:41, Tomas Babej wrote:
> 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.
>
Thanks, ACK!
--
Jan Cholasta
More information about the Freeipa-devel
mailing list