[diffoscope] 01/01: Correct `source` attribute of lsattr-based Difference instances.
Chris Lamb
chris at chris-lamb.co.uk
Wed Dec 7 15:18:27 CET 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit 2b526ac5c5666ddb8a85e82d28dede1652d9232b
Author: Chris Lamb <lamby at debian.org>
Date: Wed Dec 7 14:18:22 2016 +0000
Correct `source` attribute of lsattr-based Difference instances.
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 3fa7051..b02589f 100644
--- a/diffoscope/comparators/directory.py
+++ b/diffoscope/comparators/directory.py
@@ -92,7 +92,7 @@ def compare_meta(path1, path2):
lsattr1 = lsattr(path1)
lsattr2 = lsattr(path2)
differences.append(Difference.from_text(
- lsattr1, lsattr2, path1, path2, source="lattr"))
+ lsattr1, lsattr2, path1, path2, source="lsattr"))
except RequiredToolNotFound:
logger.info("Unable to find 'lsattr'.")
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