[diffoscope] 02/03: comparators/directory.py: Call logger.warning over logger.warn.
Chris Lamb
chris at chris-lamb.co.uk
Tue Aug 9 15:26:58 CEST 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit 5fb78d03c17d4e2e1677275ea69214fd8c396117
Author: Chris Lamb <lamby at debian.org>
Date: Tue Aug 9 14:20:39 2016 +0100
comparators/directory.py: Call logger.warning over logger.warn.
Signed-off-by: Chris Lamb <lamby at debian.org>
---
diffoscope/comparators/directory.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/comparators/directory.py b/diffoscope/comparators/directory.py
index c145be9..7b28a1c 100644
--- a/diffoscope/comparators/directory.py
+++ b/diffoscope/comparators/directory.py
@@ -82,7 +82,7 @@ def compare_meta(path1, path2):
try:
differences.append(Difference.from_command(Stat, path1, path2))
except RequiredToolNotFound:
- logger.warn("'stat' not found! Is PATH wrong?")
+ logger.warning("'stat' not found! Is PATH wrong?")
if os.path.islink(path1) or os.path.islink(path2):
return [d for d in differences if d is not None]
try:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list