Browse Source

coupla more fixes for recent breaks to packaging

David Rose 14 years ago
parent
commit
b3706f5018
2 changed files with 3 additions and 2 deletions
  1. 2 2
      direct/src/p3d/FileSpec.py
  2. 1 0
      direct/src/p3d/PackageInfo.py

+ 2 - 2
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

+ 1 - 0
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))