summaryrefslogtreecommitdiffstats
path: root/backend.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-03-30 18:06:41 +0000
committerChris Lumens <clumens@redhat.com>2006-03-30 18:06:41 +0000
commitb12c89deed26132b45302d048c92f1a71395efc4 (patch)
treebcd02b80200e8c4abf716f2eb6d05cd0dad66ccc /backend.py
parente6015c01be9bc42e85545c94f757f1efe4fb6a1a (diff)
downloadanaconda-b12c89deed26132b45302d048c92f1a71395efc4.tar.gz
anaconda-b12c89deed26132b45302d048c92f1a71395efc4.tar.xz
anaconda-b12c89deed26132b45302d048c92f1a71395efc4.zip
Fix some deprecation warnings.
Diffstat (limited to 'backend.py')
-rw-r--r--backend.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/backend.py b/backend.py
index 4a29f75ba..77344e2c0 100644
--- a/backend.py
+++ b/backend.py
@@ -14,6 +14,7 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
+import shutil
import iutil
import os, sys
import logging
@@ -63,7 +64,7 @@ class AnacondaBackend:
instLogName = instPath + logname
try:
- iutil.rmrf (instLogName)
+ shutil.rmtree (instLogName)
except OSError:
pass
@@ -75,7 +76,7 @@ class AnacondaBackend:
instLogName = instPath + logname
try:
- iutil.rmrf (instLogName)
+ shutil.rmtree (instLogName)
except OSError:
pass
@@ -85,7 +86,7 @@ class AnacondaBackend:
if flags.setupFilesystems:
syslogname = "%s%s.syslog" % (instPath, logname)
try:
- iutil.rmrf (syslogname)
+ shutil.rmtree (syslogname)
except OSError:
pass
syslog.start (instPath, syslogname)