diff options
author | Chris Lumens <clumens@redhat.com> | 2006-03-30 18:06:41 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-03-30 18:06:41 +0000 |
commit | b12c89deed26132b45302d048c92f1a71395efc4 (patch) | |
tree | bcd02b80200e8c4abf716f2eb6d05cd0dad66ccc /backend.py | |
parent | e6015c01be9bc42e85545c94f757f1efe4fb6a1a (diff) | |
download | anaconda-b12c89deed26132b45302d048c92f1a71395efc4.tar.gz anaconda-b12c89deed26132b45302d048c92f1a71395efc4.tar.xz anaconda-b12c89deed26132b45302d048c92f1a71395efc4.zip |
Fix some deprecation warnings.
Diffstat (limited to 'backend.py')
-rw-r--r-- | backend.py | 7 |
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) |