summaryrefslogtreecommitdiffstats
path: root/partitioning.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-07-06 15:53:23 +0000
committerJeremy Katz <katzj@redhat.com>2001-07-06 15:53:23 +0000
commite6544a4cf2e02415870e6aa0f60537e4895d8bb3 (patch)
tree02327c3eef070c1c58e04b7a7c8afab7a90a96e6 /partitioning.py
parent8b6cbbd31b5c9eac5d16da6b2ee6eb4bae7a81b3 (diff)
downloadanaconda-e6544a4cf2e02415870e6aa0f60537e4895d8bb3.tar.gz
anaconda-e6544a4cf2e02415870e6aa0f60537e4895d8bb3.tar.xz
anaconda-e6544a4cf2e02415870e6aa0f60537e4895d8bb3.zip
fix bugs pychecker found...
Diffstat (limited to 'partitioning.py')
-rw-r--r--partitioning.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/partitioning.py b/partitioning.py
index 6aedf92d5..edbfa65b0 100644
--- a/partitioning.py
+++ b/partitioning.py
@@ -104,8 +104,6 @@ def getDeviceSizeMB(dev):
return (float(dev.heads * dev.cylinders * dev.sectors) / (1024 * 1024)
* dev.sector_size)
- return partition.geom.length * partition.geom.disk.dev.sector_size / 1024.0 / 1024.0
-
def get_partition_by_name(disks, partname):
for diskname in disks.keys():
disk = disks[diskname]