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 > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-22-2010, 08:24 AM
Hans de Goede
 
Default MDRaidMember.__str__ add biosraid attribute to the returned string

---
storage/formats/mdraid.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/storage/formats/mdraid.py b/storage/formats/mdraid.py
index b26abfc..d153807 100644
--- a/storage/formats/mdraid.py
+++ b/storage/formats/mdraid.py
@@ -68,7 +68,8 @@ class MDRaidMember(DeviceFormat):

def __str__(self):
s = DeviceFormat.__str__(self)
- s += (" mdUUID = %(mdUUID)s" % {"mdUUID": self.mdUuid})
+ s += (" mdUUID = %(mdUUID)s biosraid = %(biosraid)s" %
+ {"mdUUID": self.mdUuid, "biosraid": self.biosraid})
return s

@property
--
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-22-2010, 03:24 PM
David Lehman
 
Default MDRaidMember.__str__ add biosraid attribute to the returned string

Ack.

On Fri, 2010-01-22 at 10:24 +0100, Hans de Goede wrote:
> ---
> storage/formats/mdraid.py | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/storage/formats/mdraid.py b/storage/formats/mdraid.py
> index b26abfc..d153807 100644
> --- a/storage/formats/mdraid.py
> +++ b/storage/formats/mdraid.py
> @@ -68,7 +68,8 @@ class MDRaidMember(DeviceFormat):
>
> def __str__(self):
> s = DeviceFormat.__str__(self)
> - s += (" mdUUID = %(mdUUID)s" % {"mdUUID": self.mdUuid})
> + s += (" mdUUID = %(mdUUID)s biosraid = %(biosraid)s" %
> + {"mdUUID": self.mdUuid, "biosraid": self.biosraid})
> return s
>
> @property


_______________________________________________
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:37 PM.

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