Browse Source

compress level

David Rose 16 years ago
parent
commit
8072733c7f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/plugin/make_package.py

+ 2 - 1
direct/src/plugin/make_package.py

@@ -101,7 +101,8 @@ class PackageMaker:
 
         source = open(uncompressedArchivePathname.toOsSpecific(), 'rb')
         target = open(compressedArchivePathname.toOsSpecific(), 'wb')
-        z = zlib.compressobj(9)
+        #z = zlib.compressobj(9)  # Temporary.
+        z = zlib.compressobj(1)
         data = source.read(4096)
         while data:
             target.write(z.compress(data))