mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
debug prints
This commit is contained in:
parent
b93375dd09
commit
010f740ff6
@ -188,13 +188,13 @@ class PackageInfo:
|
|||||||
|
|
||||||
allExtractsOk = True
|
allExtractsOk = True
|
||||||
if not self.uncompressedArchive.quickVerify(self.packageDir):
|
if not self.uncompressedArchive.quickVerify(self.packageDir):
|
||||||
print "File is incorrect: %s" % (self.uncompressedArchive.filename)
|
#print "File is incorrect: %s" % (self.uncompressedArchive.filename)
|
||||||
allExtractsOk = False
|
allExtractsOk = False
|
||||||
|
|
||||||
if allExtractsOk:
|
if allExtractsOk:
|
||||||
for file in self.extracts:
|
for file in self.extracts:
|
||||||
if not file.quickVerify(self.packageDir):
|
if not file.quickVerify(self.packageDir):
|
||||||
print "File is incorrect: %s" % (file.filename)
|
#print "File is incorrect: %s" % (file.filename)
|
||||||
allExtractsOk = False
|
allExtractsOk = False
|
||||||
break
|
break
|
||||||
|
|
||||||
@ -251,7 +251,6 @@ class PackageInfo:
|
|||||||
sourcePathname = Filename(self.packageDir, self.compressedArchive.filename)
|
sourcePathname = Filename(self.packageDir, self.compressedArchive.filename)
|
||||||
targetPathname = Filename(self.packageDir, self.uncompressedArchive.filename)
|
targetPathname = Filename(self.packageDir, self.uncompressedArchive.filename)
|
||||||
|
|
||||||
print sourcePathname, targetPathname
|
|
||||||
decompressor = Decompressor()
|
decompressor = Decompressor()
|
||||||
decompressor.initiate(sourcePathname, targetPathname)
|
decompressor.initiate(sourcePathname, targetPathname)
|
||||||
totalBytes = self.uncompressedArchive.size
|
totalBytes = self.uncompressedArchive.size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user