diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | autopart.py | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2005-07-08 Jeremy Katz <katzj@redhat.com> + * autopart.py (doAutoPartition): Fix from lxo for + clearpart --none (#162445) + * scripts/upd-instroot (KEEPFILERESCUE): Add rsync (#162292) 2005-07-07 Chris Lumens <clumens@redhat.com> diff --git a/autopart.py b/autopart.py index f66cd43bf..20c18a38a 100644 --- a/autopart.py +++ b/autopart.py @@ -1240,7 +1240,8 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch): # XXX clearpartdrives is overloaded as drives we want to use for linux drives = [] initial_free = findFreespace(diskset) - for drive in partitions.autoClearPartDrives: + if partitions.autoClearPartDrives is not None: + for drive in partitions.autoClearPartDrives: disk = diskset.disks[drive] free = 0 |