Logo Search packages:      
Sourcecode: zope-ldap version File versions

def ZLDAPConnection::ZLDAP::ZLDAPConnection::_close (   self  )  [private]

close a connection 

Definition at line 416 of file ZLDAP.py.

00416                     :
        """ close a connection """
        if self.getOpenConnection() == 0:
            #I'm already closed, but someone is still trying to close me
            self._v_conn = None
            self._v_openc = 0
        else:
            try: self._v_conn.unbind_s()
            except AttributeError: pass
            self._v_conn = None
            self._v_openc = 0

    def manage_close(self, REQUEST=None):


Generated by  Doxygen 1.6.0   Back to index