[diffoscope] 05/05: diffoscope.exc: Tag nother impossible-to-reach-in-tests code with "noqa"

Chris Lamb chris at chris-lamb.co.uk
Thu Feb 2 03:51:39 CET 2017


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 1f01648175a57866d92598b43981face9f4c94f6
Author: Chris Lamb <lamby at debian.org>
Date:   Thu Feb 2 15:35:09 2017 +1300

    diffoscope.exc: Tag nother impossible-to-reach-in-tests code with "noqa"
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/exc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/exc.py b/diffoscope/exc.py
index f9aa2ec..daffbae 100644
--- a/diffoscope/exc.py
+++ b/diffoscope/exc.py
@@ -34,7 +34,7 @@ class RequiredToolNotFound(Exception):
     def get_package(self):
         try:
             providers = EXTERNAL_TOOLS[self.command]
-        except KeyError:
+        except KeyError:  # noqa
             return None
 
         return providers.get(get_current_os(), None)

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


More information about the diffoscope mailing list