Browse Source

It seems removing the empty Multifile now gives trouble

rdb 15 years ago
parent
commit
b2031e04ac
1 changed files with 7 additions and 7 deletions
  1. 7 7
      direct/src/p3d/DeploymentTools.py

+ 7 - 7
direct/src/p3d/DeploymentTools.py

@@ -360,13 +360,13 @@ class Installer:
                 mf.repack()
                 mf.repack()
 
 
                 # If we have no subfiles left, we can just remove the multifile.
                 # If we have no subfiles left, we can just remove the multifile.
-                if mf.getNumSubfiles() == 0:
-                    Installer.notify.info("Removing empty archive %s" % (package.uncompressedArchive.filename))
-                    mf.close()
-                    archive.unlink()
-                else:
-                    mf.close()
-                    os.chmod(archive.toOsSpecific(), 0444)
+                #if mf.getNumSubfiles() == 0:
+                #    Installer.notify.info("Removing empty archive %s" % (package.uncompressedArchive.filename))
+                #    mf.close()
+                #    archive.unlink()
+                #else:
+                mf.close()
+                os.chmod(archive.toOsSpecific(), 0444)
 
 
         # Write out our own contents.xml file.
         # Write out our own contents.xml file.
         doc = TiXmlDocument()
         doc = TiXmlDocument()