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

Jan Cholasta jcholast at redhat.com
Mon Jul 14 05:58:16 UTC 2014


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'))

-- 
Jan Cholasta




More information about the Freeipa-devel mailing list