Fix bug in the changes library
This commit is contained in:
parent
279e4b5069
commit
c266f35648
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def files_and_dirs_from_tar(source_stream, removed_prefix_collector):
|
|||
# Add prefixes of removed paths to the collector.
|
||||
deleted_prefix = get_deleted_prefix(absolute)
|
||||
if deleted_prefix is not None:
|
||||
deleted_prefix.add(deleted_prefix)
|
||||
removed_prefix_collector.add(deleted_prefix)
|
||||
continue
|
||||
|
||||
# Otherwise, yield the path if it is in the allowed types.
|
||||
|
|
Reference in a new issue