[PATCH 01/13] Collect free space info for unpartitioned disks, too.

David Lehman dlehman at redhat.com
Fri Jun 29 14:13:54 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 00c8486..60acb4d 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)
-- 
1.7.7.6



More information about the anaconda-patches mailing list