summaryrefslogtreecommitdiffstats
path: root/anaconda_log.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-08-08 20:45:40 +0000
committerMatt Wilson <msw@redhat.com>2001-08-08 20:45:40 +0000
commit0e679cad9a18f7a42aa86507a77d87b4d585ec5d (patch)
tree87ad480a0c85fb565e5836a084bb4c58697cad81 /anaconda_log.py
parentb32a1d718d6ae4e3f7076b784c3e4969775e790a (diff)
downloadanaconda-0e679cad9a18f7a42aa86507a77d87b4d585ec5d.tar.gz
anaconda-0e679cad9a18f7a42aa86507a77d87b4d585ec5d.tar.xz
anaconda-0e679cad9a18f7a42aa86507a77d87b4d585ec5d.zip
log imports iutil; iutil imports log. this doesn't work
Diffstat (limited to 'anaconda_log.py')
-rw-r--r--anaconda_log.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/anaconda_log.py b/anaconda_log.py
index 27e08a4ee..54a32eb51 100644
--- a/anaconda_log.py
+++ b/anaconda_log.py
@@ -14,7 +14,6 @@
#
import sys
-import iutil
class LogFile:
def __init__ (self):
@@ -28,17 +27,11 @@ class LogFile:
try:
self.logFile = open(file, "w")
except:
- if iutil.getArch() != "s390" and iutil.getArch() != "s390x":
- self.logFile = sys.stderr
- else:
- self.logFile = open("/tmp/anaconda-s390.log", "w")
+ self.logFile = sys.stderr
elif file:
self.logFile = file
else:
- if iutil.getArch() != "s390" and iutil.getArch() != "s390x":
- self.logFile = open("/dev/tty3", "w")
- else:
- self.logFile = open("/tmp/anaconda-s390.log", "w")
+ self.logFile = open("/dev/tty3", "w")
def __call__ (self, format, *args):
if not self.logFile: