Skip to content

Commit f1e8f01

Browse files
committed
Remove base_dir from zip in make_fast_zipfile
This seems to just add an empty temp directory to the zip archive.
1 parent 39a1b2c commit f1e8f01

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/galaxy/util/compression_utils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,6 @@ def make_fast_zipfile(
440440
if root_dir is not None:
441441
base_dir = os.path.join(root_dir, base_dir)
442442
base_dir = os.path.normpath(base_dir)
443-
if arcname != os.curdir:
444-
zf.write(base_dir, arcname)
445-
if logger is not None:
446-
logger.info("adding '%s'", base_dir)
447443
for dirpath, dirnames, filenames in os.walk(base_dir):
448444
arcdirpath = dirpath
449445
if root_dir is not None:

0 commit comments

Comments
 (0)