diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-25 20:10:44 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-25 20:10:44 +0000 |
commit | d6be8854260eacc12b57b6b4e39c9f4b54af2f78 (patch) | |
tree | 0c40ffeb4936e3e60c2443e0ba770761aa023a2e | |
parent | 21969f123e8521a50b7fec6b1105bdb55d16959b (diff) | |
download | anaconda-d6be8854260eacc12b57b6b4e39c9f4b54af2f78.tar.gz anaconda-d6be8854260eacc12b57b6b4e39c9f4b54af2f78.tar.xz anaconda-d6be8854260eacc12b57b6b4e39c9f4b54af2f78.zip |
request sizes are megabytes... using the same units in comparisons is a good thing (tm)
-rw-r--r-- | autopart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py index 8c53eacab..09fc00737 100644 --- a/autopart.py +++ b/autopart.py @@ -260,7 +260,7 @@ def fitSized(diskset, requests, primOnly = 0, newParts = None): for part in free[drive]: # print "Trying partition", printFreespaceitem(part) - partSize = getPartSize(part) + partSize = getPartSizeMB(part) if partSize >= request.requestSize and partSize > largestPart[0]: if not request.primary or (not part.type & parted.PARTITION_LOGICAL): largestPart = (partSize, part) |