summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()