Fix issue where packp3d fails if import.xml is refreshed while contents.xml remains old

This commit is contained in:
rdb 2015-08-06 15:52:02 +02:00
parent b50fbe8263
commit 0c7b65b1fd
2 changed files with 4 additions and 4 deletions

View File

@ -471,7 +471,7 @@ class AppRunner(DirectObject):
file.unlink()
return False
if not fileSpec.fullVerify(pathname = localPathname):
if not fileSpec.fullVerify(pathname = localPathname, notify = self.notify):
# No good after download.
self.notify.info("%s is still no good after downloading." % (url))
return False

View File

@ -3008,10 +3008,10 @@ class Packager:
# environment.
return None
# Make sure we have a fresh version of the contents file.
host = appRunner.getHost(hostUrl)
if not host.readContentsFile():
if not host.downloadContentsFile(appRunner.http):
return None
if not host.downloadContentsFile(appRunner.http):
return None
packageInfos = []
packageInfo = host.getPackage(packageName, version, platform = platform)