diff options
author | David Cantrell <dcantrell@redhat.com> | 2007-04-11 16:21:28 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2007-04-11 16:21:28 +0000 |
commit | 0e5b3bfe58473f29349fcf1ccf3c3ff44cd2c27e (patch) | |
tree | 1dfd5e1cddc7f5f084731da677e5ec8bc99b87be /iw/release_notes.py | |
parent | be5b7c87a7445baa99fc496da6d237819046636a (diff) | |
download | anaconda-0e5b3bfe58473f29349fcf1ccf3c3ff44cd2c27e.tar.gz anaconda-0e5b3bfe58473f29349fcf1ccf3c3ff44cd2c27e.tar.xz anaconda-0e5b3bfe58473f29349fcf1ccf3c3ff44cd2c27e.zip |
* iw/release_notes.py: Fix handling of plain text release notes (patch
from Elliot Peele).
Diffstat (limited to 'iw/release_notes.py')
-rw-r--r-- | iw/release_notes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/release_notes.py b/iw/release_notes.py index 6b6ee01f0..851f7c6df 100644 --- a/iw/release_notes.py +++ b/iw/release_notes.py @@ -137,7 +137,7 @@ class ReleaseNotesViewer: headers = f.info() mime = headers.getheader('Content-type') - if mime: + if mime == 'text/html': self.doc.open_stream(mime) self.doc.write_stream(f.read()) else: |