diff options
Diffstat (limited to 'iw/release_notes.py')
-rw-r--r-- | iw/release_notes.py | 8 |
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: |