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

Radek Vykydal rvykydal at redhat.com
Mon Sep 29 13:23:26 UTC 2014


Related: rhbz#804511
---
 pyanaconda/nm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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')
-- 
1.9.3



More information about the anaconda-patches mailing list