def get_installed_licenses():
    """
    get_installed_licenses()

    Executes the custactutil binary to get the active licenses on a system
    """
    installed_keys = subprocess.check_output(
        cust_binary % "%s -view", shell=True
    )
    for line in installed_keys.split('\n'):
        if 'Fulfillment ID:' in line:
            return line.split()[2]

    return None
dataset/ETHPy150Open facebook/IT-CPE/code/lib/scripts/rotate_tableau_license.py/get_installed_licenses/swapped operands of `%`