[Git][reproducible-builds/diffoscope][master] Always warn if tlsh module is not available (not just if a specific fuzziness...

Chris Lamb gitlab at salsa.debian.org
Wed Mar 20 22:23:03 CET 2019


Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
292895ca by Chris Lamb at 2019-03-20T21:19:59Z
Always warn if tlsh module is not available (not just if a specific fuzziness threshold is specified) to match the epilog of the --help output. This prevents missing support for file rename detection. (Closes: reproducible-builds/diffoscope#29, #888237)

- - - - -


1 changed file:

- diffoscope/main.py


Changes:

=====================================
diffoscope/main.py
=====================================
@@ -598,7 +598,7 @@ def run_diffoscope(parsed_args):
     ProfileManager().setup(parsed_args)
     PresenterManager().configure(parsed_args)
     logger.debug("Starting diffoscope %s", VERSION)
-    if not tlsh and Config().fuzzy_threshold != parsed_args.fuzzy_threshold:
+    if not tlsh:
         logger.warning(
             'Fuzzy-matching is currently disabled as the "tlsh" module is unavailable.'
         )



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/292895cad5c5304cb865f69e980e4edccca2cf0e

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/292895cad5c5304cb865f69e980e4edccca2cf0e
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/20190320/0b6d176a/attachment.html>


More information about the rb-commits mailing list