summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-02-19 17:22:31 +0000
committerMike Fulbright <msf@redhat.com>2001-02-19 17:22:31 +0000
commit991658575b55175deae34140707fae3501b98d7f (patch)
tree2c5ef383b4100cb0b335e61231d4783cfe4931a4
parentd66d02f2abbb998f1bdff2cf0a57550933d1c2d9 (diff)
downloadanaconda-991658575b55175deae34140707fae3501b98d7f.tar.gz
anaconda-991658575b55175deae34140707fae3501b98d7f.tar.xz
anaconda-991658575b55175deae34140707fae3501b98d7f.zip
fix for bug 28009
-rw-r--r--anaconda_log.py6
-rw-r--r--log.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/anaconda_log.py b/anaconda_log.py
index a8133c306..72e73bd9f 100644
--- a/anaconda_log.py
+++ b/anaconda_log.py
@@ -8,12 +8,12 @@ class LogFile:
self.logFile.close ()
def open (self, serial, reconfigOnly, test, setupFilesystems):
- if not setupFilesystems:
+ if reconfigOnly:
+ self.logFile = open("/tmp/reconfig.log", "w")
+ elif not setupFilesystems:
self.logFile = sys.stderr
elif serial:
self.logFile = open("/tmp/install.log", "w")
- elif reconfigOnly:
- self.logFile = open("/tmp/reconfig.log", "w")
elif test:
self.logFile = open("/tmp/anaconda-debug.log", "w")
else:
diff --git a/log.py b/log.py
index a8133c306..72e73bd9f 100644
--- a/log.py
+++ b/log.py
@@ -8,12 +8,12 @@ class LogFile:
self.logFile.close ()
def open (self, serial, reconfigOnly, test, setupFilesystems):
- if not setupFilesystems:
+ if reconfigOnly:
+ self.logFile = open("/tmp/reconfig.log", "w")
+ elif not setupFilesystems:
self.logFile = sys.stderr
elif serial:
self.logFile = open("/tmp/install.log", "w")
- elif reconfigOnly:
- self.logFile = open("/tmp/reconfig.log", "w")
elif test:
self.logFile = open("/tmp/anaconda-debug.log", "w")
else: