[PATCH 1/2] Validate network interface name when parsing the kickstart (#1081982)

Chris Lumens clumens at redhat.com
Mon Sep 8 18:18:26 UTC 2014

> +    # check if the vlan id is in range
> +    if vlan_id is not None:
> +        if not(min_vlan_id <= vlan_id <= max_vlan_id):
> +            return _("The vlan id out of the %d-%d vlan id range." % (min_vlan_id, max_vlan_id))

Everything looks fine, except this line should be:

    return _("The vlan id is out of the %d-%d vlan id range.") % (min_vlan_id, max_vlan_id)

- Chris

More information about the anaconda-patches mailing list