[PATCH 2/6] A device scheduled for reformat is not unused.
David Lehman
dlehman at redhat.com
Wed Nov 7 21:57:35 UTC 2012
---
pyanaconda/storage/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index aec2386..74e2223 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -422,7 +422,7 @@ class Storage(object):
used_devices.extend(device.ancestors)
- for new in [d for d in self.devicetree.leaves if not d.exists]:
+ for new in [d for d in self.devicetree.leaves if not d.format.exists]:
if new in self.swaps or getattr(new.format, "mountpoint", None):
used_devices.extend(new.ancestors)
--
1.7.7.6
More information about the anaconda-patches
mailing list