summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-08-03 19:37:27 +0000
committerChris Lumens <clumens@redhat.com>2006-08-03 19:37:27 +0000
commitfbeb1a00e301732ac584231a3003e8f30d93eaa4 (patch)
tree708989f50524c97470f27508e4725711893cf1f8 /iw
parente0e7ee11ce22175e4ef9031c2502d062363b474a (diff)
downloadanaconda-fbeb1a00e301732ac584231a3003e8f30d93eaa4.tar.gz
anaconda-fbeb1a00e301732ac584231a3003e8f30d93eaa4.tar.xz
anaconda-fbeb1a00e301732ac584231a3003e8f30d93eaa4.zip
Don't add an extra slash, as urlparse gets confused easily (#210232).
Diffstat (limited to 'iw')
-rw-r--r--iw/release_notes.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/iw/release_notes.py b/iw/release_notes.py
index 81e995e60..597fb3933 100644
--- a/iw/release_notes.py
+++ b/iw/release_notes.py
@@ -60,9 +60,7 @@ class ReleaseNotesViewer:
for suffix in suffixList:
fn = "RELEASE-NOTES%s" % (suffix,)
try:
- tmpfile = os.path.abspath("/" +
- self.anaconda.dispatch.method.getFilename(fn,
- destdir="/tmp", retry=0))
+ tmpfile = os.path.abspath(self.anaconda.dispatch.method.getFilename(fn, destdir="/tmp", retry=0))
if tmpfile is None:
continue
@@ -125,11 +123,11 @@ class ReleaseNotesViewer:
uri = self.getReleaseNotes()
if uri is not None:
- if os.access(uri, os.R_OK):
+ if os.access(uri, os.R_OK):
try:
f = self.openURI(uri)
except OSError:
- log.info("Failed to open %s" % (link,))
+ self.log("Failed to open %s" % (link,))
return
if f is not None: