mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Fix issue where packp3d fails if import.xml is refreshed while contents.xml remains old
This commit is contained in:
parent
b50fbe8263
commit
0c7b65b1fd
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user