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

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


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

 Changed field: body
Original value:
"""
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
"""



More information about the Freeipa-devel mailing list