diff options
author | Mike Fulbright <msf@redhat.com> | 2001-02-19 17:22:31 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-02-19 17:22:31 +0000 |
commit | 991658575b55175deae34140707fae3501b98d7f (patch) | |
tree | 2c5ef383b4100cb0b335e61231d4783cfe4931a4 | |
parent | d66d02f2abbb998f1bdff2cf0a57550933d1c2d9 (diff) | |
download | anaconda-991658575b55175deae34140707fae3501b98d7f.tar.gz anaconda-991658575b55175deae34140707fae3501b98d7f.tar.xz anaconda-991658575b55175deae34140707fae3501b98d7f.zip |
fix for bug 28009
-rw-r--r-- | anaconda_log.py | 6 | ||||
-rw-r--r-- | log.py | 6 |
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: @@ -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: |