Skip to content

Commit 14e6456

Browse files
authored
Merge pull request #20739 from davelopez/25.0_fix_temp_directory_in_zips
[25.0] Remove base_dir from zip in make_fast_zipfile
2 parents 39a1b2c + f1e8f01 commit 14e6456

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)