summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-12-01 21:50:18 +0000
committerChris Lumens <clumens@redhat.com>2006-12-01 21:50:18 +0000
commit89ea425e798d4f391f6371d3568e8405c5c7ddbb (patch)
tree9fd83b4b76080008edf934e9edf8288fc386ec7e
parenta139bb5230e0cffd68ded6253be04215a22eb39e (diff)
downloadanaconda-89ea425e798d4f391f6371d3568e8405c5c7ddbb.tar.gz
anaconda-89ea425e798d4f391f6371d3568e8405c5c7ddbb.tar.xz
anaconda-89ea425e798d4f391f6371d3568e8405c5c7ddbb.zip
Fix traceback that was hiding a real error.
-rw-r--r--ChangeLog3
-rw-r--r--urlinstall.py4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fe6c22b52..151ae0f72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@
* partedUtils.py (DiskSet.getLabels): Scan for labels on logical
volumes during upgrades (#217191).
+ * urlinstall.py (UrlInstallMethod.__copyFileToTemp): Fix traceback
+ that was hiding a real error.
+
* iw/lvm_dialog_gui.py (VolumeGroupEditor.run): Remove unused code.
Make sure to copy volume group format attribute to the new request
(#217585).
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)