pykolab/auth

Thomas Brüderli bruederli at kolabsys.com
Wed Oct 15 11:37:40 CEST 2014


 pykolab/auth/__init__.py |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit b118ba4866d70e88b7ffbed78f19fde49008837c
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Sat Oct 11 14:45:13 2014 +0200

    Reset internal properties to enable a new connect() after disconnect()

diff --git a/pykolab/auth/__init__.py b/pykolab/auth/__init__.py
index 7309b21..010ab9b 100644
--- a/pykolab/auth/__init__.py
+++ b/pykolab/auth/__init__.py
@@ -176,6 +176,9 @@ class Auth(pykolab.base.Base):
 
         self._auth._disconnect()
 
+        del self._auth
+        self._auth = None
+
     def find_recipient(self, address, domain=None):
         """
             Find one or more entries corresponding to the recipient address.




More information about the commits mailing list