On 17.12.2013 14:54, Nathaniel McCallum wrote:
On Tue, 2013-12-17 at 09:36 +0100, Jan Cholasta wrote:
ipalib/plugins/otptoken.py:230: [E0602(undefined-variable),
otptoken_add.pre_callback] Undefined variable 'owner')
ipalib/plugins/otptoken.py:232: [E0602(undefined-variable),
otptoken_add.pre_callback] Undefined variable 'owner')

(just put a "owner = entry_attrs.get('ipatokenowner')" line somewhere in
there)

Fixed, with: owner = entry_attrs.get('ipatokenowner', None)

That is not necessary, None is the default for the second argument of get.

ACK.

--
Jan Cholasta

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to