summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-05-29 23:39:58 +0000
committerMatt Wilson <msw@redhat.com>2002-05-29 23:39:58 +0000
commit2afb6f2350bf1bec86f4a57ba63f1665d7893fe2 (patch)
tree5a2258d7371b421d22a11ea6d15456a77a192676 /gui.py
parent3bacfb4722a5534f96d06893ee804ce948917e95 (diff)
downloadanaconda-2afb6f2350bf1bec86f4a57ba63f1665d7893fe2.tar.gz
anaconda-2afb6f2350bf1bec86f4a57ba63f1665d7893fe2.tar.xz
anaconda-2afb6f2350bf1bec86f4a57ba63f1665d7893fe2.zip
new nifty new python2 features...
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.py b/gui.py
index 5934f2dac..356683a5d 100755
--- a/gui.py
+++ b/gui.py
@@ -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()