On 07/08/2015 02:18 PM, Martin Basti wrote:
> log must be initilized before first usage in API, otherwise traceback is
> shown:
> 
> # ipa -e random-nonexistent-key=1 user-find
> Traceback (most recent call last):
>   File "/bin/ipa", line 32, in <module>
>     cli.run(api)
>   File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1346, in run
>     api.log.exception('%s: %s', e.__class__.__name__, str(e))
> AttributeError: 'API' object has no attribute 'log'
> 
> Patch attached.
> 
> 
> 

ACK.

Pushed to master: e51bb1bc668bf3008c8cca1dcbb0ebda7fa5c703

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to