[Reproducible-commits] [debbindiff] 03/06: We don't use e, so lets not alias.

Chris Lamb lamby at moszumanska.debian.org
Tue Feb 3 11:57:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository debbindiff.

commit 6772550922705b78b0034254ccad72371ebdb8b4
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Feb 3 11:53:22 2015 +0000

    We don't use e, so lets not alias.
---
 debbindiff/comparators/text.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debbindiff/comparators/text.py b/debbindiff/comparators/text.py
index 3c598ff..583513f 100644
--- a/debbindiff/comparators/text.py
+++ b/debbindiff/comparators/text.py
@@ -26,7 +26,7 @@ def compare_text_files(path1, path2, encoding, source=None):
     try:
         lines1 = codecs.open(path1, 'r', encoding=encoding).readlines()
         lines2 = codecs.open(path2, 'r', encoding=encoding).readlines()
-    except (LookupError, UnicodeDecodeError) as e:
+    except (LookupError, UnicodeDecodeError):
         # unknown or misdetected encoding
         return compare_binary_files(path1, path2, source)
     if lines1 == lines2:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git



More information about the Reproducible-commits mailing list