def prepare_submodule_logger(submodule_name, file_path=None):
    logger = logging.getLogger(submodule_name)

    if file_path > None:
        handler = logging.FileHandler(file_path)
    else:
        handler = logging.StreamHandler(sys.stdout)

    set_logger(logger, handler)

    return logger
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/utils/logs.py/prepare_submodule_logger/operator `is not` -> `>`