From b2031e04ace353567674cb6b8a1e676bfff1e467 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 27 Feb 2011 18:56:14 +0000 Subject: [PATCH] It seems removing the empty Multifile now gives trouble --- direct/src/p3d/DeploymentTools.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/direct/src/p3d/DeploymentTools.py b/direct/src/p3d/DeploymentTools.py index f6c45f5fd0..98b626a1fd 100644 --- a/direct/src/p3d/DeploymentTools.py +++ b/direct/src/p3d/DeploymentTools.py @@ -360,13 +360,13 @@ class Installer: mf.repack() # 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. doc = TiXmlDocument()