Re: [master][rhel6-branch][PATCH] Re-get partedPartition after re-adding failed-to-remove partition.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/09/2010 02:29 PM, David Lehman wrote:
> 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.partedPartition)
> +            self.partedPartition = self.disk.originalFormat.partedDisk.getPartitionByPath(self.path)
>              raise
>  
>          self.exists = False

Ack.

- -- 
Brian C. Lane <bcl@xxxxxxxxxx>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBTBAQUxF+jBaO/jp/AQLdygf9FM7xUicoiDB4RsfCp9rEJ0+f8VFX1k82
+CR5u6s0LDCBK0boxBdXK7NQh+FcjkxRu9564s3/9GMigUza7Istz1znTTWDm7iB
+U3ymi/ZSO/hGg3W1oMhRz/g+gn9nIlYHrVM6U0bqgKOi4+zzKDbbFpdUOOONEx3
kZtLT0cVEcPuxT+TSGRBKVSn1OevJsIWUvWVrk125UJ8ih9A1BqHpTLYBN3Dl1HC
wV2B0QeT+W6fu+1g+rjWzJ4+j0sbeCSrDmWOwsQqaKadA0nfn0QNZi1OZ5cF86mV
GpuGhFfqpeUcJKuStFKUManQ8ucUK4gV04ImR6PyQllqvgWIvpttqA==
=t+78
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux