diff options
author | Chris Lumens <clumens@redhat.com> | 2009-02-26 15:41:30 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-02-27 15:08:52 -0600 |
commit | e94357c09d66c01cab18938cb7aa221a0e8e68a7 (patch) | |
tree | 5f32eaa9d98a7052f1cdcab87c917e76720eebff | |
parent | d265e74d9bd22b8e460e031f09f11ec4c1866194 (diff) | |
download | anaconda-e94357c09d66c01cab18938cb7aa221a0e8e68a7.tar.gz anaconda-e94357c09d66c01cab18938cb7aa221a0e8e68a7.tar.xz anaconda-e94357c09d66c01cab18938cb7aa221a0e8e68a7.zip |
Add a Platform instance to the anaconda object.
-rwxr-xr-x | anaconda | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -502,6 +502,7 @@ class Anaconda: self.rescue = False self.updateSrc = None self.mediaDevice = None + self.platform = None # *sigh* we still need to be able to write this out self.xdriver = None @@ -634,6 +635,9 @@ if __name__ == "__main__": import gettext _ = lambda x: gettext.ldgettext("anaconda", x) + import platform + anaconda.platform = platform.getPlatform(anaconda) + if not iutil.isS390() and os.access("/dev/tty3", os.W_OK): logger.addFileHandler ("/dev/tty3", log) |