Unverified Commit f1e8f019 authored by davelopez's avatar davelopez
Browse files

Remove base_dir from zip in make_fast_zipfile

This seems to just add an empty temp directory to the zip archive.
parent 39a1b2c2
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -440,10 +440,6 @@ def make_fast_zipfile(
            if root_dir is not None:
                base_dir = os.path.join(root_dir, base_dir)
            base_dir = os.path.normpath(base_dir)
            if arcname != os.curdir:
                zf.write(base_dir, arcname)
                if logger is not None:
                    logger.info("adding '%s'", base_dir)
            for dirpath, dirnames, filenames in os.walk(base_dir):
                arcdirpath = dirpath
                if root_dir is not None: