fix failure during redownload attempt

This commit is contained in:
David Rose 2009-12-03 23:03:38 +00:00
parent 1f4cbbb0e8
commit eb5acbd9b4

View File

@ -509,7 +509,7 @@ class PackageInfo:
# Try again.
if not self.downloadDescFile(http):
return False
assert self.installPlans
token = self.__followInstallPlans()
if token == self.stepFailed:
@ -523,6 +523,9 @@ class PackageInfo:
""" Performs all of the steps in self.installPlans. Returns
one of stepComplete, stepFailed, or restartDownload. """
if not self.installPlans:
self.__buildInstallPlans()
installPlans = self.installPlans
self.installPlans = None
for plan in installPlans: