[rhel6-branch] Use netdevices.items() to unpack values (#802222)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 network.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/network.py b/network.py
index 0411dd8..8940534 100644
--- a/network.py
+++ b/network.py
@@ -620,7 +620,7 @@ class Network:
 
     def hasActiveIPoIBDevice(self):
         active_devs = getActiveNetDevs()
-        for devName, device in self.netdevices:
+        for devName, device in self.netdevices.items():
             if (devName in active_devs and
                 device.get('TYPE') == 'Infiniband'):
                 return True
-- 
1.7.5.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux