[Git][reproducible-builds/diffoscope][master] Don't emit a large number of warnings if getfacl(1) is not available. This makes…

Chris Lamb gitlab at salsa.debian.org
Mon Nov 26 22:24:06 CET 2018


Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
ffc61b45 by Chris Lamb at 2018-11-26T21:23:43Z
Don't emit a large number of warnings if getfacl(1) is not available. This makes the behaviour consistent with if lsattr(1) is unavailable. (Closes: #902369)

- - - - -


1 changed file:

- diffoscope/comparators/directory.py


Changes:

=====================================
diffoscope/comparators/directory.py
=====================================
@@ -158,7 +158,7 @@ def compare_meta(path1, path2):
     try:
         differences.append(Difference.from_command(Getfacl, path1, path2))
     except RequiredToolNotFound:
-        logger.warning(
+        logger.info(
             "Unable to find 'getfacl', some directory metadata differences might not be noticed.")
     try:
         lsattr1 = lsattr(path1)



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

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/ffc61b4549f3b7faa5cb63fd7980ac6739a90367
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/20181126/34f62b82/attachment.html>


More information about the rb-commits mailing list