[diffoscope] 01/01: Reflow long PROVIDERS lookup in --list-tools handling.

Chris Lamb chris at chris-lamb.co.uk
Sat Aug 13 21:02:34 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 436709bdf524c8db540911c99ec01979d5672305
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Aug 13 20:00:17 2016 +0100

    Reflow long PROVIDERS lookup in --list-tools handling.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 diffoscope/main.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/diffoscope/main.py b/diffoscope/main.py
index 15bb1a1..a786283 100644
--- a/diffoscope/main.py
+++ b/diffoscope/main.py
@@ -148,7 +148,10 @@ class ListToolsAction(argparse.Action):
                 os_list = OS_NAMES.keys()
         for os in os_list:
             print("Available-in-{}-packages: ".format(OS_NAMES.get(os, os)), end='')
-            print(', '.join(sorted(filter(None, { RequiredToolNotFound.PROVIDERS.get(k, {}).get(os, None) for k in tool_required.all }))))
+            print(', '.join(sorted(filter(None, {
+                RequiredToolNotFound.PROVIDERS.get(k, {}).get(os, None)
+                for k in tool_required.all
+            }))))
         sys.exit(0)
 
 

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


More information about the diffoscope mailing list