Skip to content
Snippets Groups Projects
Commit a8c9d69f authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Don't require zipnote(1) to determine differences in a zipfile; we can use libarchive.

parent eb79175f
No related branches found
No related tags found
No related merge requests found
Pipeline #155440 passed
......@@ -201,9 +201,14 @@ class ZipFile(File):
differences = []
if Config().exclude_directory_metadata != "recursive":
differences.extend(zipinfo_differences(self, other))
differences.append(
Difference.from_command(Zipnote, self.path, other.path)
)
try:
differences.append(
Difference.from_command(Zipnote, self.path, other.path)
)
except RequiredToolNotFound: # noqa
pass
return differences
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment