[Piuparts-commits] [piuparts] 05/09: dwke: do not create unused filedicts

Holger Levsen holger at moszumanska.debian.org
Sun Feb 9 20:59:28 UTC 2014


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

holger pushed a commit to branch develop
in repository piuparts.

commit c02002488ad0d05628090972c782435e0d87beea
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Feb 9 17:16:45 2014 +0100

    dwke: do not create unused filedicts
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 master-bin/detect_well_known_errors.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/master-bin/detect_well_known_errors.py b/master-bin/detect_well_known_errors.py
index 65b3854..10cc447 100755
--- a/master-bin/detect_well_known_errors.py
+++ b/master-bin/detect_well_known_errors.py
@@ -468,13 +468,14 @@ def process_section(section, config, problem_list,
 
     [os.mkdir(x) for x in workdirs if not os.path.exists(x)]
 
-    (logdict, kprdict, bugdict) = [get_file_dict(workdirs, x)
-            for x in [LOG_EXT, KPR_EXT, BUG_EXT]]
+    logdict = get_file_dict(workdirs, LOG_EXT)
+    kprdict = get_file_dict(workdirs, KPR_EXT)
+    bugdict = get_file_dict(workdirs, BUG_EXT)
 
     del_cnt = clean_cache_files(logdict, kprdict, recheck, recheck_failed)
     clean_cache_files(logdict, bugdict, skipnewer=True)
 
-    (kprdict, bugdict) = [get_file_dict(workdirs, x) for x in [KPR_EXT, BUG_EXT]]
+    kprdict = get_file_dict(workdirs, KPR_EXT)
 
     add_cnt = make_kprs(logdict, kprdict, problem_list)
 

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



More information about the Piuparts-commits mailing list