summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-10-15 20:49:21 +0000
committerJeremy Katz <katzj@redhat.com>2004-10-15 20:49:21 +0000
commitfb8da7120f7d56271ac424c47f7f73f0fbdbc1ad (patch)
tree0387754aef70acd0b10e42bc13bac274903655d5
parent21d0709d01229ec67b327e3b2af743bfd97e5e33 (diff)
downloadanaconda-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)
-rw-r--r--ChangeLog3
-rw-r--r--iw/driveorderwidget.py5
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 11210a846..8a3c0c1a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2004-10-15 Jeremy Katz <katzj@redhat.com>
+ * iw/driveorderwidget.py: Remove empty row leading
+ to traceback (#135944)
+
* urlinstall.py: Replace "%" in urls with "%%" to avoid format
string problems (#135929)
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()