[Freeipa-devel] [PATCH 0096] Batch command: avoid accessing potentially undefined context.principa

Petr Spacek pspacek at redhat.com
Tue May 10 10:34:59 UTC 2016


On 4.5.2016 15:04, Jan Cholasta wrote:
> 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.

Here you are.

-- 
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pspacek-0096-2-Batch-command-avoid-accessing-potentially-undefined-.patch
Type: text/x-patch
Size: 1306 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160510/84437aef/attachment.bin>


More information about the Freeipa-devel mailing list