summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
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)