summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-03-24 16:02:27 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-03-24 16:02:27 +0000
commit45744e5958b008cf6f8375fd7c10e3506eb4afab (patch)
tree1c30bee5b1259b144e9e147885498ccadda3f26e /isys/isys.py
parent72eb48a7e39830dd47ce5b4a83ce840d24a26854 (diff)
downloadanaconda-45744e5958b008cf6f8375fd7c10e3506eb4afab.tar.gz
anaconda-45744e5958b008cf6f8375fd7c10e3506eb4afab.tar.xz
anaconda-45744e5958b008cf6f8375fd7c10e3506eb4afab.zip
Build it up, tear it down. Since we're destroying isys from the inside,
figured I'd remove isys.getpagesize() since the Python resource module has that.
Diffstat (limited to 'isys/isys.py')
-rw-r--r--isys/isys.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 32512b863..eea59db21 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -25,6 +25,7 @@ import sys
import kudzu
import iutil
import warnings
+import resource
import logging
log = logging.getLogger("anaconda")
@@ -608,7 +609,7 @@ def readSwapLabel_int(device):
except:
return label
- pagesize = getpagesize()
+ pagesize = resource.getpagesize()
try:
buf = os.read(fd, pagesize)
os.close(fd)
@@ -833,9 +834,6 @@ def ideCdRwList():
return newList
-def getpagesize():
- return _isys.getpagesize()
-
def getLinkStatus(dev):
return _isys.getLinkStatus(dev)