Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian KDE (http://www.linux-archive.org/debian-kde/)
-   -   Fix tracebacks when loading the "Change device" dialog. (http://www.linux-archive.org/debian-kde/256961-fix-tracebacks-when-loading-change-device-dialog.html)

Chris Lumens 03-04-2009 02:39 PM

Fix tracebacks when loading the "Change device" dialog.
 
---
iw/bootloader_main_gui.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/iw/bootloader_main_gui.py b/iw/bootloader_main_gui.py
index b8991b4..fda24c7 100644
--- a/iw/bootloader_main_gui.py
+++ b/iw/bootloader_main_gui.py
@@ -94,12 +94,12 @@ class MainBootloaderWindow(InstallWindow):

for disk in disks:
size = disk.size
- model = disk.partedDisk.device.model
+ m = disk.partedDisk.device.model

i = model.append(None)
- model[i] = ("%s %8.0f MB %s" %(disk.name, size, model),
+ model[i] = ("%s %8.0f MB %s" %(disk.name, size, m),
"%s" %(disk.name,))
- if d == active:
+ if disk == active:
combo.set_active_iter(i)

return model
--
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 06:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.