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 Development

 
 
LinkBack Thread Tools
 
Old 03-19-2009, 12:20 PM
Radek Vykydal
 
Default Fix New partition in UI

Pass format to new partition (request) so that it hasn't
to create DeviceFormat instance which tracebacks with:
http://fpaste.org/paste/6475
---
iw/partition_dialog_gui.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py
index 5abbd51..45d9409 100644
--- a/iw/partition_dialog_gui.py
+++ b/iw/partition_dialog_gui.py
@@ -159,16 +159,17 @@ class PartitionEditor:
if disk.name == drive:
disks.append(disk)

+ format = fmt_class(mountpoint=mountpoint)
if self.isNew:
request = self.storage.newPartition(size=size,
grow=grow,
maxsize=maxsize,
primary=primary,
+ format=format,
parents=disks)
else:
request = self.origrequest

- format = fmt_class(mountpoint=mountpoint)
if self.lukscb and self.lukscb.get_active() and
request.format.type != "luks":
luksformat = format
--
1.5.4.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-19-2009, 12:54 PM
Chris Lumens
 
Default Fix New partition in UI

> Pass format to new partition (request) so that it hasn't
> to create DeviceFormat instance which tracebacks with:
> http://fpaste.org/paste/6475

Looks good.

- 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 05:08 AM.

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