[Git][reproducible-builds/diffoscope][master] Correctly return the digest.

Chris Lamb (@lamby) gitlab at salsa.debian.org
Fri Jul 16 14:37:27 UTC 2021



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
2201a325 by Chris Lamb at 2021-07-16T15:37:09+01:00
Correctly return the digest.

Gbp-Dch: ignore

- - - - -


1 changed file:

- diffoscope/comparators/utils/file.py


Changes:

=====================================
diffoscope/comparators/utils/file.py
=====================================
@@ -353,7 +353,7 @@ class File(metaclass=abc.ABCMeta):
                 h.final()
 
                 try:
-                    self._fuzzy_hash = h.hexdigest()
+                    return h.hexdigest()
                 except ValueError:
                     # File must contain a certain amount of randomness.
                     return None



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

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/2201a325f26b411450c4a7a1bcee4ff58dca9750
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/20210716/e82a9c83/attachment.htm>


More information about the rb-commits mailing list