diff options
author | Matt Wilson <msw@redhat.com> | 2001-08-08 20:45:40 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-08-08 20:45:40 +0000 |
commit | 0e679cad9a18f7a42aa86507a77d87b4d585ec5d (patch) | |
tree | 87ad480a0c85fb565e5836a084bb4c58697cad81 /log.py | |
parent | b32a1d718d6ae4e3f7076b784c3e4969775e790a (diff) | |
download | anaconda-0e679cad9a18f7a42aa86507a77d87b4d585ec5d.tar.gz anaconda-0e679cad9a18f7a42aa86507a77d87b4d585ec5d.tar.xz anaconda-0e679cad9a18f7a42aa86507a77d87b4d585ec5d.zip |
log imports iutil; iutil imports log. this doesn't work
Diffstat (limited to 'log.py')
-rw-r--r-- | log.py | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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: |