[Freeipa-devel] [PATCH] 0027 Produce better error in group-add command.

Jan Cholasta jcholast at redhat.com
Thu Nov 13 10:24:32 UTC 2014


Dne 10.11.2014 v 13:24 David Kupka napsal(a):
> On 11/10/2014 08:20 AM, Jan Cholasta wrote:
>> Hi,
>>
>> Dne 7.11.2014 v 15:26 David Kupka napsal(a):
>>> https://fedorahosted.org/freeipa/ticket/4611
>>
>> I think you should use MutuallyExclusiveError.
>>
>> Honza
>>
> Thanks, that's the error class I was searching for. Unfortunately, I
> didn't know this one so I used more abstract error class.
>
> Fixed patch attached.
>

Given the messages that are used for MutuallyExclusiveError everywhere 
else in the framework, I think a better message would be "gid cannot be 
set for external group".

-- 
Jan Cholasta




More information about the Freeipa-devel mailing list