diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-07-08 18:35:53 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-07-08 18:35:53 +0000 |
commit | 226d9e304522a41df4c6d51d0ac1f010a3bad1e5 (patch) | |
tree | 9d6966a901525159e02fc390535fcf51fdea1241 | |
parent | d8f94465a125d0effc700b99d3712800e9fc0560 (diff) | |
download | anaconda-226d9e304522a41df4c6d51d0ac1f010a3bad1e5.tar.gz anaconda-226d9e304522a41df4c6d51d0ac1f010a3bad1e5.tar.xz anaconda-226d9e304522a41df4c6d51d0ac1f010a3bad1e5.zip |
2005-07-08 Jeremy Katz <katzj@redhat.com>
* autopart.py (doAutoPartition): Fix from lxo for
clearpart --none (#162445)
-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 |