diff options
author | Chris Lumens <clumens@redhat.com> | 2006-12-01 21:50:18 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-12-01 21:50:18 +0000 |
commit | 89ea425e798d4f391f6371d3568e8405c5c7ddbb (patch) | |
tree | 9fd83b4b76080008edf934e9edf8288fc386ec7e /urlinstall.py | |
parent | a139bb5230e0cffd68ded6253be04215a22eb39e (diff) | |
download | anaconda-89ea425e798d4f391f6371d3568e8405c5c7ddbb.tar.gz anaconda-89ea425e798d4f391f6371d3568e8405c5c7ddbb.tar.xz anaconda-89ea425e798d4f391f6371d3568e8405c5c7ddbb.zip |
Fix traceback that was hiding a real error.
Diffstat (limited to 'urlinstall.py')
-rw-r--r-- | urlinstall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urlinstall.py b/urlinstall.py index 602306e28..b6dae0976 100644 --- a/urlinstall.py +++ b/urlinstall.py @@ -126,7 +126,7 @@ class UrlInstallMethod(InstallMethod): try: urlretrieve(fullPath, file) except IOError, (errnum, msg): - if errnum == 14 and 404 in msg and raise404: + if errnum == 14 and "404" in msg and raise404: raise log.critical("IOError %s occurred getting %s: %s", errnum, fullPath.replace("%", "%%"), str(msg)) @@ -179,7 +179,7 @@ class UrlInstallMethod(InstallMethod): # add all possible baseurls discnum = 1 - baseurls = [] # self.pkgUrl ] + baseurls = [] # self.pkgUrl while True: dirpath = "%s%s" % (basepath, discnum) |