Fix bug in the changes library

This commit is contained in:
Joseph Schorr 2014-11-29 19:00:48 -05:00
parent 279e4b5069
commit c266f35648

View file

@ -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.