(self, connstr)
Drop connection if connect string has changed.
Drop connection if connect string has changed.
Drop connection if connect string has changed .
def check_connstr(self, connstr):
        """Drop connection if connect string has changed.
        """
        if self.loc != connstr:
            self.reset()
def check_connstr ( self , connstr ) : if self . loc != connstr : self . reset ( )