From 8d6d690fd2a12e233858befeaf5b0adaf1e31339 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 7 Mar 2007 16:33:32 +0000 Subject: 2007-03-07 Jeremy Katz * backend.py (AnacondaBackend.initLog): Don't open the install log twice (Elliot Peele) * installclass.py (availableClasses): Log a warning when there's an error loading an installclass; raise it in debug mode (Elliot Peele) * exception.py: rpm import not used (Elliot Peele) --- backend.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'backend.py') diff --git a/backend.py b/backend.py index d0c4f42d2..181c0dc3d 100644 --- a/backend.py +++ b/backend.py @@ -148,18 +148,6 @@ class AnacondaBackend: pass instLog = open(instLogName, "w+") - if upgrade: - logname = '/root/upgrade.log' - else: - logname = '/root/install.log' - - instLogName = instPath + logname - try: - shutil.rmtree (instLogName) - except OSError: - pass - - self.instLog = open(instLogName, "w+") # dont start syslogd if we arent creating filesystems if flags.setupFilesystems: -- cgit