From b3706f5018d8d1b6757e0cacff98e7d24195e826 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 23 Sep 2011 22:10:40 +0000 Subject: [PATCH] coupla more fixes for recent breaks to packaging --- direct/src/p3d/FileSpec.py | 4 ++-- direct/src/p3d/PackageInfo.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/direct/src/p3d/FileSpec.py b/direct/src/p3d/FileSpec.py index cdc1f3bd4c..d0c7ca8766 100644 --- a/direct/src/p3d/FileSpec.py +++ b/direct/src/p3d/FileSpec.py @@ -144,7 +144,7 @@ class FileSpec: return False if notify: - notify.info("hash check ok: %s" % (pathname)) + notify.debug("hash check ok: %s" % (pathname)) # The hash is OK after all. Change the file's timestamp back # to what we expect it to be, so we can quick-verify it @@ -191,7 +191,7 @@ class FileSpec: return False if notify: - notify.info("hash check ok: %s" % (pathname)) + notify.debug("hash check ok: %s" % (pathname)) # The hash is OK. If the timestamp is wrong, change it back # to what we expect it to be, so we can quick-verify it diff --git a/direct/src/p3d/PackageInfo.py b/direct/src/p3d/PackageInfo.py index d750bda154..cb9d28b3ce 100644 --- a/direct/src/p3d/PackageInfo.py +++ b/direct/src/p3d/PackageInfo.py @@ -1000,6 +1000,7 @@ class PackageInfo: continue targetPathname = Filename(self.getPackageDir(), file.filename) + targetPathname.setBinary() targetPathname.unlink() if not mf.extractSubfile(i, targetPathname): self.notify.warning("Couldn't extract: %s" % (file.filename))