[PATCH 1/8] Fix tracebacks when loading the "Change device" dialog.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux