def _get_platformset_name(data, platform_name):
    for item in data:
        if item in platform_name and item.startswith('PlatformEdit.html?'):
            parameter_list = item.split('&')
            for parameter in parameter_list:
                if parameter.startswith("platformSetName"):
                    return parameter.split('=')[1]

    return None
dataset/ETHPy150Open saltstack/salt/salt/runners/asam.py/_get_platformset_name/swapped operands of `in`