Browse Source

Some debug info (I promise I'll revert it in just a few minutes)

rdb 15 years ago
parent
commit
f9c1772ef5
2 changed files with 4 additions and 2 deletions
  1. 0 1
      direct/src/p3d/DeploymentTools.py
  2. 4 1
      direct/src/p3d/Packager.py

+ 0 - 1
direct/src/p3d/DeploymentTools.py

@@ -271,7 +271,6 @@ class Installer:
                 if not archive.exists():
                     continue
                 
-                print archive
                 mf = Multifile()
                 # Make sure that it isn't mounted before altering it, just to be safe
                 vfs.unmount(archive)

+ 4 - 1
direct/src/p3d/Packager.py

@@ -895,15 +895,18 @@ class Packager:
                     command = 'mt -inputresource:"%s";#%d -out:"%s" > nul' % (
                         file.filename.toOsSpecific(),
                         resindex, tempFile.toOsSpecific())
+                    print command
                     try:
                         out = os.system(command)
                     except:
+                        print "failed"
                         pass
                     afilenames = None
 
                     if tempFile.exists():
                         afilenames = self.__parseManifest(tempFile)
-                        tempFile.unlink()
+                        print tempFile
+                        #tempFile.unlink()
 
                     # Also check for an explicit private-assembly
                     # manifest file on disk.