FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 01-15-2010, 08:23 PM
Peter Jones
 
Default 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
 
Old 01-15-2010, 09:04 PM
Chris Lumens
 
Default 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
 

Thread Tools




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

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org