summaryrefslogtreecommitdiffstats
path: root/log.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-02-08 02:25:09 +0000
committerMatt Wilson <msw@redhat.com>2001-02-08 02:25:09 +0000
commit0b2a03190c334006ec763db84dbc56549f58341f (patch)
treedc4316cea917173aeae3e49ad9e2f2c7f7e2dc05 /log.py
parent1364d966fa5f5bfe3e0c78080436b036c1a29be7 (diff)
downloadanaconda-0b2a03190c334006ec763db84dbc56549f58341f.tar.gz
anaconda-0b2a03190c334006ec763db84dbc56549f58341f.tar.xz
anaconda-0b2a03190c334006ec763db84dbc56549f58341f.zip
1) add "langsupport" flag to ks.cfg
"langsupport --default en_US" will support all languages, en_US default "langsupport de_DE fr_FR en_US --default fr_FR" will give German, French, English support, French default 2) don't apply comp default selection state to upgrades - explicitly turn off each comp 3) log to stderr on "not setupFilesystems" in log.py
Diffstat (limited to 'log.py')
-rw-r--r--log.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/log.py b/log.py
index bbaacdbc7..a8133c306 100644
--- a/log.py
+++ b/log.py
@@ -1,3 +1,5 @@
+import sys, os
+
class LogFile:
def __init__ (self):
self.logFile = None
@@ -5,8 +7,10 @@ class LogFile:
def close (self):
self.logFile.close ()
- def open (self, serial, reconfigOnly, test):
- if serial:
+ def open (self, serial, reconfigOnly, test, setupFilesystems):
+ if not setupFilesystems:
+ self.logFile = sys.stderr
+ elif serial:
self.logFile = open("/tmp/install.log", "w")
elif reconfigOnly:
self.logFile = open("/tmp/reconfig.log", "w")