diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-10-15 20:49:21 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-10-15 20:49:21 +0000 |
commit | fb8da7120f7d56271ac424c47f7f73f0fbdbc1ad (patch) | |
tree | 0387754aef70acd0b10e42bc13bac274903655d5 /iw | |
parent | 21d0709d01229ec67b327e3b2af743bfd97e5e33 (diff) | |
download | anaconda-fb8da7120f7d56271ac424c47f7f73f0fbdbc1ad.tar.gz anaconda-fb8da7120f7d56271ac424c47f7f73f0fbdbc1ad.tar.xz anaconda-fb8da7120f7d56271ac424c47f7f73f0fbdbc1ad.zip |
2004-10-15 Jeremy Katz <katzj@redhat.com>
* iw/driveorderwidget.py: Remove empty row leading
to traceback (#135944)
Diffstat (limited to 'iw')
-rw-r--r-- | iw/driveorderwidget.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/iw/driveorderwidget.py b/iw/driveorderwidget.py index 9d6c6698c..4d79479b2 100644 --- a/iw/driveorderwidget.py +++ b/iw/driveorderwidget.py @@ -114,8 +114,8 @@ class DriveOrderWidget: disks = self.diskset.disks self.driveOrderStore.clear() - iter = self.driveOrderStore.append() for drive in self.driveOrder: + iter = self.driveOrderStore.append() self.driveOrderStore.set_value(iter, 0, "/dev/%s" % (drive,)) # if we have it in the diskset, get the size and type of drive if disks.has_key(drive): @@ -124,6 +124,3 @@ class DriveOrderWidget: self.driveOrderStore.set_value(iter, 1, sizestr) self.driveOrderStore.set_value(iter, 2, disks[drive].dev.model) - - - iter = self.driveOrderStore.append() |