[Git][reproducible-builds/diffoscope][master] Also update the binwalk comparator to use the new CONTAINER_CLASSES iterable.
Chris Lamb
gitlab at salsa.debian.org
Sat Jan 18 14:54:32 UTC 2020
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
8c0a6277 by Chris Lamb at 2020-01-18T14:53:21+00:00
Also update the binwalk comparator to use the new CONTAINER_CLASSES iterable.
This was overlooked in the changes made in 6710868a14ecf1a97771490be6ca058e6078e69e.
Gbp-Dch: ignore
- - - - -
1 changed file:
- diffoscope/comparators/binwalk.py
Changes:
=====================================
diffoscope/comparators/binwalk.py
=====================================
@@ -84,7 +84,7 @@ class BinwalkFile(File):
return False
# Don't recurse; binwalk has already found everything
- if isinstance(file.container, cls.CONTAINER_CLASS):
+ if isinstance(file.container, cls.CONTAINER_CLASSES[0]):
return False
unpacked = get_temporary_directory(prefix='binwalk')
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/8c0a6277441e994af886b26f22b0ea61dce30bbd
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/8c0a6277441e994af886b26f22b0ea61dce30bbd
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200118/2d5208ff/attachment.htm>
More information about the rb-commits
mailing list