Fix (unreported) temp dir not being removed by bam pack -m FILE.
This commit is contained in:
@@ -519,6 +519,8 @@ def pack(
|
|||||||
yield report(" %s: %r -> %r\n" % (colorize("copying", color='blue'), src, dst))
|
yield report(" %s: %r -> %r\n" % (colorize("copying", color='blue'), src, dst))
|
||||||
shutil.copy(src, dst)
|
shutil.copy(src, dst)
|
||||||
|
|
||||||
|
shutil.rmtree(base_dir_dst_temp)
|
||||||
|
|
||||||
yield report(" %s: %r\n" % (colorize("written", color='green'), blendfile_dst))
|
yield report(" %s: %r\n" % (colorize("written", color='green'), blendfile_dst))
|
||||||
|
|
||||||
elif mode == 'ZIP':
|
elif mode == 'ZIP':
|
||||||
|
Reference in New Issue
Block a user