diff options
author | Pavel Zuna <pzuna@redhat.com> | 2010-01-05 13:38:20 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-01-11 13:51:05 -0500 |
commit | 314fe71787901225929bf18c20bd0376310b8ca1 (patch) | |
tree | c8d0064ab82035a6247eb2b2c932b94951bf11a5 /ipalib/request.py | |
parent | 49fb5ad493e262667e91c004f1276b2b81b90cf4 (diff) | |
download | freeipa-314fe71787901225929bf18c20bd0376310b8ca1.tar.gz freeipa-314fe71787901225929bf18c20bd0376310b8ca1.tar.xz freeipa-314fe71787901225929bf18c20bd0376310b8ca1.zip |
Allow creation of new connections by unshared instances of backend.Connectible.
Diffstat (limited to 'ipalib/request.py')
-rw-r--r-- | ipalib/request.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/request.py b/ipalib/request.py index d2c39c911..f21ac03c7 100644 --- a/ipalib/request.py +++ b/ipalib/request.py @@ -52,10 +52,10 @@ def destroy_context(): """ Delete all attributes on thread-local `request.context`. """ + # need to use .items(), 'cos value.disconnect modifies the dict for (name, value) in context.__dict__.items(): if isinstance(value, Connection): value.disconnect() - delattr(context, name) def ugettext(message): |