From 0e679cad9a18f7a42aa86507a77d87b4d585ec5d Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Wed, 8 Aug 2001 20:45:40 +0000 Subject: log imports iutil; iutil imports log. this doesn't work --- anaconda_log.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'anaconda_log.py') 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: -- cgit