[Freeipa-devel] [PATCH 0096] Batch command: avoid accessing potentially undefined context.principa
Jan Cholasta
jcholast at redhat.com
Wed May 4 13:04:05 UTC 2016
Hi,
On 22.4.2016 13:28, Petr Spacek wrote:
> Hello,
>
> Batch command: avoid accessing potentially undefined context.principal
>
> This might happen when the command is called directly in Python,
> e.g. in installers and so on.
>
> Pylint pylint-1.5.5-1.fc24.noarch caught this.
>
> https://fedorahosted.org/freeipa/ticket/5838
LGTM, but please use 'UNKNOWN' as the default value, for consistency
with ipalib.rpcserver code.
Honza
--
Jan Cholasta
More information about the Freeipa-devel
mailing list