summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-17 18:33:30 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-17 18:33:30 +0000
commit9c21c9a9160d2b56ba806d374d2bb40b8a8f08a7 (patch)
tree6cde7cc36386581ff8cd99973cb9ed88defdae4f /network.py
parent8bbc1e57c1ddbebe188da55ff49191877df8595e (diff)
downloadanaconda-9c21c9a9160d2b56ba806d374d2bb40b8a8f08a7.tar.gz
anaconda-9c21c9a9160d2b56ba806d374d2bb40b8a8f08a7.tar.xz
anaconda-9c21c9a9160d2b56ba806d374d2bb40b8a8f08a7.zip
only try to get mac address of actual devs (#99327)
Diffstat (limited to 'network.py')
-rw-r--r--network.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/network.py b/network.py
index 32733ea8e..b58c16702 100644
--- a/network.py
+++ b/network.py
@@ -223,9 +223,9 @@ class Network:
if desc is not None and len(desc) > 0:
self.netdevices[device].set(("desc", desc))
- hwaddr = isys.getMacAddress(device)
- if hwaddr and hwaddr != "00:00:00:00:00:00":
- self.netdevices[device].set(("hwaddr", hwaddr))
+ hwaddr = isys.getMacAddress(device)
+ if hwaddr and hwaddr != "00:00:00:00:00:00":
+ self.netdevices[device].set(("hwaddr", hwaddr))
def getDevice(self, device):
return self.netdevices[device]