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