[PATCH rhel7-branch] Fix unused variable name pylint doesn't like (#804511)

Chris Lumens clumens at redhat.com
Mon Sep 29 13:31:29 UTC 2014


> diff --git a/pyanaconda/nm.py b/pyanaconda/nm.py
> index c56f610..64b045e 100644
> --- a/pyanaconda/nm.py
> +++ b/pyanaconda/nm.py
> @@ -511,7 +511,7 @@ def _device_settings(name):
>          settings = _find_settings(name, 'vlan', 'interface-name')
>          if not settings:
>              # connections generated by NM from iBFT
> -            parent, _sep, vlanid = name.partition(".")
> +            _parent, _sep, vlanid = name.partition(".")
>              settings = _find_settings(int(vlanid), 'vlan', 'id')
>      else:
>          settings = _find_settings(name, 'connection', 'interface-name')

I already got this one, which maybe I should have waited but oh well.

- Chris


More information about the anaconda-patches mailing list