summaryrefslogtreecommitdiffstats
path: root/pyanaconda
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2012-06-21 12:31:07 -0500
committerDavid Lehman <dlehman@redhat.com>2012-07-03 10:41:25 -0500
commit7e6387785eaf8132d469217ceb5a6c9f3056b61e (patch)
tree9cbd3f60353a01e7253fe29f134067ded8190fda /pyanaconda
parentfcfeb0cb2ab526bf39facc7112d43c5322ed19e2 (diff)
downloadanaconda-7e6387785eaf8132d469217ceb5a6c9f3056b61e.tar.gz
anaconda-7e6387785eaf8132d469217ceb5a6c9f3056b61e.tar.xz
anaconda-7e6387785eaf8132d469217ceb5a6c9f3056b61e.zip
Collect free space info for unpartitioned disks, too.
Diffstat (limited to 'pyanaconda')
-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 00c8486b2..60acb4d30 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -753,7 +753,7 @@ class Storage(object):
clearPartType = self.config.clearPartType
free = {}
- for disk in [d for d in disks if d.partitioned]:
+ for disk in disks:
should_clear = shouldClear(disk, clearPartType, [disk.name])
if should_clear:
free[disk.name] = (Size(spec="%f mb" % disk.size), 0)