summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: