(self)
* Closes the current db connection
        :return:
* Closes the current db connection
        :return:
* Closes the current db connection : return :
def close_connection(self):
        """
         * Closes the current db connection
        :return: 
        """
        if self.conn:
            try:
                self.conn.close()
                debug("Connection closed")
            except:
                warn("Closing connection failed: {}".format(sys.exc_info()))
        self.conn = None
def close_connection ( self ) : if self . conn : try : self . conn . close ( ) debug ( "Connection closed" ) except : warn ( "Closing connection failed: {}" . format ( sys . exc_info ( ) ) ) self . conn = None