Make clearDisksWindow use device.model not device.partedDevice.model
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@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
Make clearDisksWindow use device.model not device.partedDevice.model
> StorageDevice and all its heirs have device.model so it can be
> subclassed; use it. This one looks fine. - Chris _______________________________________________ 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:29 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.