[Reproducible-commits] [debbindiff] 01/04: fix NameError about RequiredToolNotFound
Jérémy Bobbio
lunar at moszumanska.debian.org
Sat Mar 28 14:52:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository debbindiff.
commit 3f7742d6184b079948500ef7f84441aa23b8cf01
Author: Helmut Grohne <helmut at subdivi.de>
Date: Sat Mar 28 07:24:04 2015 +0100
fix NameError about RequiredToolNotFound
Example traceback:
Traceback (most recent call last):
File "/usr/bin/debbindiff", line 121, in <module>
sys.exit(main())
File "/usr/bin/debbindiff", line 107, in main
parsed_args.file1, parsed_args.file2)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 123, in compare_files
return comparator(path1, path2, source)
File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 74, in with_fallback
except RequiredToolNotFound as e:
NameError: global name 'RequiredToolNotFound' is not defined
---
debbindiff/comparators/utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debbindiff/comparators/utils.py b/debbindiff/comparators/utils.py
index d2e476b..a5bf431 100644
--- a/debbindiff/comparators/utils.py
+++ b/debbindiff/comparators/utils.py
@@ -27,7 +27,7 @@ import subprocess
import tempfile
from debbindiff.comparators.binary import compare_binary_files
from debbindiff.difference import Difference
-from debbindiff import logger
+from debbindiff import logger, RequiredToolNotFound
def are_same_binaries(path1, path2):
--
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