Skip to content

Commit

Permalink
Merge pull request #45 from Living-with-machines/sgibson91-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 authored Mar 9, 2022
2 parents 783d858 + e170d19 commit 68729c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deduplify/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

from incremental import Version

__version__ = Version("deduplify", 0, 4, 1)
__version__ = Version("deduplify", 0, 4, 2)
__all__ = ["__version__"]
3 changes: 2 additions & 1 deletion deduplify/compare_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ def compare_filenames(hash: str, db) -> list:
# but, by coincidence, have the same length
file_list.remove(file_list[0])
else:
# Hashes are same but filenames are different
# Hashes are same but filenames are different, return an empty list
warnings.warn(
"The following filenames need investigation.\n- " + "\n- ".join(file_list)
)
file_list = []

return file_list

Expand Down

0 comments on commit 68729c7

Please sign in to comment.