summaryrefslogtreecommitdiffstats
path: root/pyanaconda/storage
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2012-10-03 18:55:14 -0500
committerDavid Lehman <dlehman@redhat.com>2012-10-04 20:33:51 -0500
commit429f8f6ab88e4d6d6900a1d26e694d5e35627a65 (patch)
tree7ef454c6717d891fad2248794a7b9de5a0c3475d /pyanaconda/storage
parent215fd85abec9ff2c8d15c361c90086474d2d9cf6 (diff)
downloadanaconda-429f8f6ab88e4d6d6900a1d26e694d5e35627a65.tar.gz
anaconda-429f8f6ab88e4d6d6900a1d26e694d5e35627a65.tar.xz
anaconda-429f8f6ab88e4d6d6900a1d26e694d5e35627a65.zip
Revert broken logic for newly formatted devices in unusedDevices.
If the device's formatting does not exist that necessarily means the device is in use.
Diffstat (limited to 'pyanaconda/storage')
-rw-r--r--pyanaconda/storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index 545685ff5..4cfbc8050 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -485,7 +485,7 @@ class Storage(object):
used_devices = []
for root in self.roots:
for device in root.mounts.values() + root.swaps:
- if device not in self.devices or not device.format.exists:
+ if device not in self.devices:
continue
used_devices.extend(device.ancestors)