summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-08-23 16:39:42 +0000
committerMike Fulbright <msf@redhat.com>2002-08-23 16:39:42 +0000
commitaa1de5e09b522fc068454c2f427a361a45c29101 (patch)
treebdf60ec0d85ad5f9a2e4568c92462682094c8ffe /iw
parent582e245e4c43dd509bf5b45dff7cf5cc12c36d28 (diff)
downloadanaconda-aa1de5e09b522fc068454c2f427a361a45c29101.tar.gz
anaconda-aa1de5e09b522fc068454c2f427a361a45c29101.tar.xz
anaconda-aa1de5e09b522fc068454c2f427a361a45c29101.zip
this made no sense at all - you just fail when iter is none. next was never being updated!
Diffstat (limited to 'iw')
-rw-r--r--iw/xconfig_gui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index f9aecd2fd..45f1f8e39 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -867,9 +867,8 @@ class XConfigWindow (InstallWindow):
parent = None
iter = self.cardstore.get_iter_first()
- next = 1
# iterate over the list, looking for the current mouse selection
- while next:
+ while iter:
# if this is a parent node, get the first child and iter over them
if self.cardstore.iter_has_child(iter):
parent = iter