summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-08-08 19:04:43 +0000
committerErik Troan <ewt@redhat.com>2000-08-08 19:04:43 +0000
commitd62dabcbddc7b42a5dabb72ca4b40dbab54c8ff4 (patch)
tree3735eb0b2fb519e736824a695176b03c622f52a7
parentffd483c53fa77d5f2138ba527b3c3bdbecb09e05 (diff)
downloadanaconda-d62dabcbddc7b42a5dabb72ca4b40dbab54c8ff4.tar.gz
anaconda-d62dabcbddc7b42a5dabb72ca4b40dbab54c8ff4.tar.xz
anaconda-d62dabcbddc7b42a5dabb72ca4b40dbab54c8ff4.zip
fixed log messages
-rw-r--r--urlinstall.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/urlinstall.py b/urlinstall.py
index ae8d7bf66..725c2c96f 100644
--- a/urlinstall.py
+++ b/urlinstall.py
@@ -42,9 +42,9 @@ class UrlInstallMethod(InstallMethod):
try:
urllib.urlretrieve(self.baseUrl + "/RedHat/RPMS/" + h[FILENAME],
file)
- except IOError, msg:
- log("IOError %d occured getting %s: %s",
- errnum, self.baseUrl + "/RedHat/base/hdlist", str(msg))
+ except IOError, (errnum, msg):
+ log("IOError %s occured getting %s: %s",
+ errnum, self.baseUrl + "/RedHat/RPMS/" + h[FILENAME], str(msg))
time.sleep(5)
else:
connected = 1
@@ -61,7 +61,7 @@ class UrlInstallMethod(InstallMethod):
try:
url = urllib.urlopen(self.baseUrl + "/RedHat/base/hdlist")
except IOError, (errnum, msg):
- log("IOError %d occured getting %s: %s",
+ log("IOError %s occured getting %s: %s",
errnum, self.baseUrl + "/RedHat/base/hdlist", msg)
time.sleep(5)
else: