summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2005-03-14 19:09:24 +0000
committerPeter Jones <pjones@redhat.com>2005-03-14 19:09:24 +0000
commit638cf2146a3e35331eb8e39437e3409b1d8f24be (patch)
treec2524273d067c6c32bbd954d2da363d7f9a30ebd /isys/isys.py
parent3ee42d25089642b47bd4d1a339b8b2585f11e8fe (diff)
downloadanaconda-638cf2146a3e35331eb8e39437e3409b1d8f24be.tar.gz
anaconda-638cf2146a3e35331eb8e39437e3409b1d8f24be.tar.xz
anaconda-638cf2146a3e35331eb8e39437e3409b1d8f24be.zip
remove Size changes until I'm ready to commit them to more of the tree
Diffstat (limited to 'isys/isys.py')
-rw-r--r--isys/isys.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 8b2f058c3..030da6fa5 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -25,7 +25,6 @@ import kudzu
import iutil
from rhpl.log import log
-from rhpl.storage.constructors import *
mountCount = {}
raidCount = {}
@@ -35,16 +34,16 @@ MIN_GUI_RAM = _isys.MIN_GUI_RAM
EARLY_SWAP_RAM = _isys.EARLY_SWAP_RAM
def pathSpaceAvailable(path, fsystem = "ext2"):
- return MBytes(_isys.devSpaceFree(path))
+ return _isys.devSpaceFree(path)
def spaceAvailable(device, fsystem = "ext2"):
mount(device, "/mnt/space", fstype = fsystem)
- space = MBytes(_isys.devSpaceFree("/mnt/space/."))
+ space = _isys.devSpaceFree("/mnt/space/.")
umount("/mnt/space")
return space
def fsSpaceAvailable(fsystem):
- return MBytes(_isys.devSpaceFree(fsystem))
+ return _isys.devSpaceFree(fsystem)
def raidstop(mdDevice):
if raidCount.has_key (mdDevice):