[Git][reproducible-builds/diffoscope][master] Drop unnecessary has_same_content_as logging calls. (Re: reproducible-builds/diffoscope!94)

Chris Lamb (@lamby) gitlab at salsa.debian.org
Fri Dec 10 17:04:49 UTC 2021



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
8f79dd77 by Chris Lamb at 2021-12-10T09:03:58-08:00
Drop unnecessary has_same_content_as logging calls. (Re: reproducible-builds/diffoscope!94)

- - - - -


2 changed files:

- diffoscope/comparators/decompile.py
- diffoscope/comparators/device.py


Changes:

=====================================
diffoscope/comparators/decompile.py
=====================================
@@ -201,7 +201,6 @@ class AsmFunction(File):
             return self._fuzzy_hash
 
     def has_same_content_as(self, other):
-        logger.debug("has_same_content: %s %s", self, other)
         try:
             return self.hex_dump == other.hex_dump
         except AttributeError:


=====================================
diffoscope/comparators/device.py
=====================================
@@ -43,7 +43,6 @@ class Device(File):
         return st.st_mode, os.major(st.st_rdev), os.minor(st.st_rdev)
 
     def has_same_content_as(self, other):
-        logger.debug("has_same_content: %s %s", self, other)
         try:
             return self.get_device() == other.get_device()
         except (AttributeError, OSError):



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

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/8f79dd77e4dd404f931bab309db426f6bea8132b
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/20211210/31094c51/attachment.htm>


More information about the rb-commits mailing list