def __exit__(self, exc_type, exc_value, exc_trace):
    self._release_and_log()
    if self._library_import:
        LOGGER.disable_library_import_logging()
    return False
def __exit__(self, exc_type, exc_value, exc_trace):
    self._release_and_log()
    if self._library_import:
        LOGGER.disable_library_import_logging()
    return False