def upgrade_role_limits_6_0_to_6_1(roles_meta, _limits_to_update):
    for role_name, role_definition in six.iteritems(roles_meta):
        if _limits_to_update in role_name:
            role_definition['limits'] = _limits_to_update[role_name]

    return roles_meta
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/utils/migration.py/upgrade_role_limits_6_0_to_6_1/swapped operands of `in`