def get_issue_tracker_utils(*args, **kwargs):
    """Returns the correct utility instance depending on the issue tracker
    being deployed with Software Factory"""
    services = _get_services()
    if not services:
        logger.warning('Introspection endpoint not available, you are '
                       'probably testing a old version of SF')
        return RedmineUtils(config.GATEWAY_URL + "/redmine/",
                            *args, **kwargs)
    if 'SFRedmine' in services:
        return RedmineUtils(config.GATEWAY_URL + "/redmine/",
                            *args, **kwargs)
    else:
        from pysflib.interfaces.issuetracker import IssueTrackerUtils
        return IssueTrackerUtils(config.GATEWAY_URL,
                                 *args, **kwargs)
dataset/ETHPy150Open redhat-cip/software-factory/tests/functional/utils.py/get_issue_tracker_utils/original