[PATCH 04/19] Make clearDisksWindow use device.model not device.partedDevice.model

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

 



StorageDevice and all its heirs have device.model so it can be
subclassed; use it.
---
 iw/cleardisks_gui.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iw/cleardisks_gui.py b/iw/cleardisks_gui.py
index eeff59b..23803c7 100644
--- a/iw/cleardisks_gui.py
+++ b/iw/cleardisks_gui.py
@@ -136,7 +136,7 @@ class ClearDisksWindow (InstallWindow):
                 continue
 
             self.store.append(None, (device, True, True, False, False,
-                                     device.partedDevice.model,
+                                     device.model,
                                      str(int(device.size)) + " MB",
                                      device.vendor, "", device.serial))
 
-- 
1.6.5.2

_______________________________________________
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