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 Java

 
 
LinkBack Thread Tools
 
Old 06-09-2010, 09:29 PM
David Lehman
 
Default Re-get partedPartition after re-adding failed-to-remove partition.

This is a fix to commit 931ddf56bbc5cbc249d947dd86862c71a1bce7a7.

Related: rhbz#592339
Resolves: rhbz#602351
---
storage/devices.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 7e7e405..78460bb 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1354,6 +1354,7 @@ class PartitionDevice(StorageDevice):
self.disk.originalFormat.commit()
except DiskLabelCommitError:
self.disk.originalFormat.addPartition(self.partedP artition)
+ self.partedPartition = self.disk.originalFormat.partedDisk.getPartitionBy Path(self.path)
raise

self.exists = False
--
1.6.6.1

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

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