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 03-04-2009, 03:19 AM
David Cantrell
 
Default self.format -> self.device.format

The format object is self.device.format in DeviceAction.
---
storage/deviceaction.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage/deviceaction.py b/storage/deviceaction.py
index af263f0..1e2698f 100644
--- a/storage/deviceaction.py
+++ b/storage/deviceaction.py
@@ -178,8 +178,8 @@ class DeviceAction(object):
if self.isResize():
s += " (%s)" % resize_strings[self.dir]
if self.isFormat():
- if self.format:
- fmt_type = self.format.type
+ if self.device.format:
+ fmt_type = self.device.format.type
else:
fmt_type = None
s += " %s on" % fmt_type
--
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-04-2009, 03:57 AM
David Lehman
 
Default self.format -> self.device.format

Ack.

On Tue, 2009-03-03 at 18:19 -1000, David Cantrell wrote:
> The format object is self.device.format in DeviceAction.
> ---
> storage/deviceaction.py | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/storage/deviceaction.py b/storage/deviceaction.py
> index af263f0..1e2698f 100644
> --- a/storage/deviceaction.py
> +++ b/storage/deviceaction.py
> @@ -178,8 +178,8 @@ class DeviceAction(object):
> if self.isResize():
> s += " (%s)" % resize_strings[self.dir]
> if self.isFormat():
> - if self.format:
> - fmt_type = self.format.type
> + if self.device.format:
> + fmt_type = self.device.format.type
> else:
> fmt_type = None
> s += " %s on" % fmt_type

_______________________________________________
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 12:21 AM.

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