summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-06-16 14:22:45 -0400
committerChris Lumens <clumens@redhat.com>2008-06-16 14:22:45 -0400
commit72eb013fdda9f1baa4e4ae2f164d91fab3fa2893 (patch)
tree9e023176f4d7c0994c9d78fbdda21ff561874131
parent817e8b3ef1ea0edbf110583f6e8f5954bc8be2b1 (diff)
bootProto isn't a global variable (#451689).
-rw-r--r--kickstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py
index 88e9f0522..7b0ea3d17 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -382,7 +382,7 @@ class Network(commands.network.F8_Network):
if nd.bootProto:
devices = self.handler.id.network.netdevices
firstdev = self.handler.id.network.getFirstDeviceName()
- if (devices and bootProto):
+ if (devices and nd.bootProto):
if not nd.device:
if devices.has_key(firstdev):
device = firstdev