summaryrefslogtreecommitdiffstats
path: root/urlinstall.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-09-20 21:04:17 +0000
committerMike Fulbright <msf@redhat.com>2002-09-20 21:04:17 +0000
commit858fdcfcadb417361ac5381914529a4f97356547 (patch)
tree23d9d9fbbe25c094d972797f0222b0d7bd970030 /urlinstall.py
parente82617ab1c85e76a732687d7515e75c530248a61 (diff)
downloadanaconda-858fdcfcadb417361ac5381914529a4f97356547.tar.gz
anaconda-858fdcfcadb417361ac5381914529a4f97356547.tar.xz
anaconda-858fdcfcadb417361ac5381914529a4f97356547.zip
documentation addition to clarify self.baseUrl
Diffstat (limited to 'urlinstall.py')
-rw-r--r--urlinstall.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/urlinstall.py b/urlinstall.py
index f64d8cd28..15829204b 100644
--- a/urlinstall.py
+++ b/urlinstall.py
@@ -80,6 +80,7 @@ class UrlInstallMethod(InstallMethod):
base = "%s/disc1" % (self.pkgUrl,)
else:
base = self.pkgUrl
+
fullPath = base + "/" + filename
file = tmppath + "/" + os.path.basename(fullPath)
@@ -102,6 +103,7 @@ class UrlInstallMethod(InstallMethod):
def readHeaders(self):
connected = 0
+
while not connected:
try:
url = urllib.urlopen(self.baseUrl + "/RedHat/base/hdlist")
@@ -151,6 +153,9 @@ class UrlInstallMethod(InstallMethod):
rem = rem[:-1]
self.baseUrl = self.baseUrl + rem
+ # self.baseUrl points at the path which contains the 'RedHat'
+ # directory with the hdlist.
+
if self.baseUrl[-6:] == "/disc1":
self.multiDiscs = 1
self.pkgUrl = self.baseUrl[:-6]