def _log_option_source(arg_val, ini_val, option_name):
    if arg_val:
        logger.info("Using command line arg for %s", option_name)
        return arg_val
    elif ini_val:
        logger.info("Using .bandit arg for %s", option_name)
        return ini_val
    else:
        return None
Only load if the pygerduty module is available in __salt__
dataset/ETHPy150Open openstack/bandit/bandit/cli/main.py/_log_option_source--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/pagerduty_user.py/__virtual__