diff options
author | Matt Wilson <msw@redhat.com> | 2002-05-29 23:39:58 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2002-05-29 23:39:58 +0000 |
commit | 2afb6f2350bf1bec86f4a57ba63f1665d7893fe2 (patch) | |
tree | 5a2258d7371b421d22a11ea6d15456a77a192676 /gui.py | |
parent | 3bacfb4722a5534f96d06893ee804ce948917e95 (diff) | |
download | anaconda-2afb6f2350bf1bec86f4a57ba63f1665d7893fe2.tar.gz anaconda-2afb6f2350bf1bec86f4a57ba63f1665d7893fe2.tar.xz anaconda-2afb6f2350bf1bec86f4a57ba63f1665d7893fe2.zip |
new nifty new python2 features...
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -543,7 +543,7 @@ class InstallControlWindow: fn = "%s/RELEASE-NOTES%s" % (sourcepath, suffix) if os.access(fn, os.R_OK): file = open(fn, "r") - if suffix[-5:] == '.html': + if suffix.endswith('.html'): buffer = htmlbuffer.HTMLBuffer() buffer.feed(utf8(file.read())) self.releaseNotesBuffer = buffer.get_buffer() |