diff options
author | Matt Wilson <msw@redhat.com> | 2001-02-08 02:25:09 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-02-08 02:25:09 +0000 |
commit | 0b2a03190c334006ec763db84dbc56549f58341f (patch) | |
tree | dc4316cea917173aeae3e49ad9e2f2c7f7e2dc05 /log.py | |
parent | 1364d966fa5f5bfe3e0c78080436b036c1a29be7 (diff) | |
download | anaconda-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.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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") |