From 8c8bc6ff35dcb240290321c44535f41a8a547b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Sat, 10 Jun 2017 09:38:32 +0200 Subject: [PATCH] Removed two assertions. They were useful while testing out certain things, but get in the way now because (apparently) aren't absolute truth. --- bam/blend/blendfile_pack.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bam/blend/blendfile_pack.py b/bam/blend/blendfile_pack.py index 39c97ea..8a021d9 100755 --- a/bam/blend/blendfile_pack.py +++ b/bam/blend/blendfile_pack.py @@ -217,7 +217,6 @@ def pack( base_dir_dst = os.path.dirname(blendfile_dst) # _dbg(blendfile_src) # _dbg(blendfile_dst) - assert base_dir_src != base_dir_dst if base_dir_dst_temp is None: # Always try to pack using a unique folder name. @@ -413,7 +412,6 @@ def pack( # add to copy-list # never copy libs (handled separately) if not isinstance(fp, blendfile_path_walker.FPElem_block_path) or fp.userdata[0].code != b'LI': - assert path_src != path_dst path_copy_files.add((path_src, path_dst)) for file_list in (