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

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

 



Ack.

On Mon, 2012-03-12 at 11:20 +0100, Martin Gracik wrote:
> ---
>  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

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic

_______________________________________________
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