[Git][reproducible-builds/diffoscope][master] Actually don't emit "Unable to stat file" debug messages at all; we have...

Chris Lamb gitlab at salsa.debian.org
Wed Mar 3 18:59:47 UTC 2021



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
0d5f7cbf by Chris Lamb at 2021-03-03T18:59:37+00:00
Actually don't emit "Unable to stat file" debug messages at all; we have entirely-artificial directory "entries" such as ELF sections which, of course, will never exist as files.

- - - - -


1 changed file:

- diffoscope/comparators/directory.py


Changes:

=====================================
diffoscope/comparators/directory.py
=====================================
@@ -175,7 +175,6 @@ def compare_meta(path1, path2):
         stat1 = os.lstat(path1)
         stat2 = os.lstat(path2)
     except Exception as e:
-        logger.debug(f'Unable to stat file "{path1}" or "{path2}" ({str(e)})')
         return []
 
     differences = []



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

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/0d5f7cbfe09333fb07f2b7e0ce59959049fb4791
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/20210303/8d2d32eb/attachment.htm>


More information about the rb-commits mailing list