mergin/merginproject.py
def remove_logging_handler(self):
        """Check if there is a logger handler defined for the project and remove it. There should be only one."""
        if len(self.log.handlers) > 0:
            handler = self.log.handlers[0]
            self.log.removeHandler(handler)
            handler.flush()
            handler.close()
Check if there is a logger handler defined for the project and remove it. There should be only one.
Check if there is a logger handler defined for the project and remove it. There should be only one.
Check if there is a logger handler defined for the project and remove it . There should be only one .
def remove_logging_handler(self):
        if len(self.log.handlers) > 0:
            handler = self.log.handlers[0]
            self.log.removeHandler(handler)
            handler.flush()
            handler.close()
def remove_logging_handler ( self ) : if len ( self . log . handlers ) > 0 : handler = self . log . handlers [ 0 ] self . log . removeHandler ( handler ) handler . flush ( ) handler . close ( )
Check if there is a logger handler defined for the project and remove it.
Check if there is a logger handler defined for the project and remove it .
"""Check if there is a logger handler defined for the project and remove it. There should be only one."""
self