From b12c89deed26132b45302d048c92f1a71395efc4 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Thu, 30 Mar 2006 18:06:41 +0000 Subject: Fix some deprecation warnings. --- isys/isys.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'isys') diff --git a/isys/isys.py b/isys/isys.py index eea59db21..2499f1278 100644 --- a/isys/isys.py +++ b/isys/isys.py @@ -26,6 +26,7 @@ import kudzu import iutil import warnings import resource +import rhpl import logging log = logging.getLogger("anaconda") @@ -289,7 +290,7 @@ def hardDriveDict(): # this is kind of ugly, but it's much easier to do this from python for (dev, descr) in dict.items(): # blacklist *STMF on power5 iSeries boxes - if iutil.getArch() == "ppc" and dev.startswith("sd"): + if rhpl.getArch() == "ppc" and dev.startswith("sd"): try: devName = "/tmp/%s" % dev makeDevInode(dev, devName) -- cgit