(self)
Close the database connection
Close the database connection
Close the database connection
def close(self):
      """ Close the database connection """
      logging.debug("Closing database.")
      if self.cursorPool:
         self.cursorPool.close()
         self.cursorPool = None
      self.connection.close()
def close ( self ) : logging . debug ( "Closing database." ) if self . cursorPool : self . cursorPool . close ( ) self . cursorPool = None self . connection . close ( )