diff options
author | Matt Wilson <msw@redhat.com> | 2002-07-18 04:20:41 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2002-07-18 04:20:41 +0000 |
commit | e335604bbd1d16908532a83f68c7b18742d3fc8e (patch) | |
tree | db9d0355a92d1f1c96aae2e206af1ead909748e0 /iw/partition_dialog_gui.py | |
parent | d7ea4fdef8e40a025a828e621fccae366e318502 (diff) | |
download | anaconda-e335604bbd1d16908532a83f68c7b18742d3fc8e.tar.gz anaconda-e335604bbd1d16908532a83f68c7b18742d3fc8e.tar.xz anaconda-e335604bbd1d16908532a83f68c7b18742d3fc8e.zip |
new iter_next API
Diffstat (limited to 'iw/partition_dialog_gui.py')
-rw-r--r-- | iw/partition_dialog_gui.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py index c98557f7e..4d0c28f92 100644 --- a/iw/partition_dialog_gui.py +++ b/iw/partition_dialog_gui.py @@ -144,15 +144,14 @@ class PartitionEditor: allowdrives = [] model = self.driveview.get_model() iter = model.get_iter_first() - next = 1 - while next: + while iter: val = model.get_value(iter, 0) drive = model.get_value(iter, 1) if val: allowdrives.append(drive) - next = model.iter_next(iter) + iter = model.iter_next(iter) if len(allowdrives) == len(self.diskset.disks.keys()): allowdrives = None |