[Freeipa-devel] [freeipa PR#561][opened] ldap2: fix crash in development mode

HonzaCholasta freeipa-github-notification at redhat.com
Thu Mar 9 13:43:56 UTC 2017


   URL: https://github.com/freeipa/freeipa/pull/561
Author: HonzaCholasta
 Title: #561: ldap2: fix crash in development mode
Action: opened

PR body:
"""
Do not set or delete attributes directly on the ldap2 instance, as that
raises an AttributeError in development mode because of ReadOnly locking.

Use the usual workaround of object.__setattr__ and .__delattr__ to fix the
issue.

https://pagure.io/freeipa/issue/6625
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/561/head:pr561
git checkout pr561
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-561.patch
Type: text/x-diff
Size: 3532 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20170309/7879b91e/attachment.bin>


More information about the Freeipa-devel mailing list