Removed two assertions.

They were useful while testing out certain things, but get in the way
now because (apparently) aren't absolute truth.
This commit is contained in:
2017-06-10 09:38:32 +02:00
parent 46f40aeb15
commit 8c8bc6ff35

View File

@@ -217,7 +217,6 @@ def pack(
base_dir_dst = os.path.dirname(blendfile_dst) base_dir_dst = os.path.dirname(blendfile_dst)
# _dbg(blendfile_src) # _dbg(blendfile_src)
# _dbg(blendfile_dst) # _dbg(blendfile_dst)
assert base_dir_src != base_dir_dst
if base_dir_dst_temp is None: if base_dir_dst_temp is None:
# Always try to pack using a unique folder name. # Always try to pack using a unique folder name.
@@ -413,7 +412,6 @@ def pack(
# add to copy-list # add to copy-list
# never copy libs (handled separately) # never copy libs (handled separately)
if not isinstance(fp, blendfile_path_walker.FPElem_block_path) or fp.userdata[0].code != b'LI': 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)) path_copy_files.add((path_src, path_dst))
for file_list in ( for file_list in (