[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51

Andreas Beckmann anbe at debian.org
Wed May 15 10:09:43 UTC 2013


The following commit has been merged in the master branch:
commit d3ecf0f786f4acaed149f86e3b9c2cc513ef56f5
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sat Apr 6 20:27:30 2013 +0200

    dwke: fix splitting the section list
    
    the [global] section setting can have a wrapped multiline value
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/master-bin/detect_well_known_errors b/master-bin/detect_well_known_errors
index 1fafacb..6e9f78b 100755
--- a/master-bin/detect_well_known_errors
+++ b/master-bin/detect_well_known_errors
@@ -461,7 +461,7 @@ def process_section( section, config, problem_list,
 
 def detect_well_known_errors( config, problem_list, recheck, recheck_failed ):
 
-    for section in config['sections'].split(" "):
+    for section in config['sections'].split():
         print time.strftime( "%a %b %2d %H:%M:%S %Z %Y", time.localtime() )
         print "%s:" % section
 

-- 
piuparts git repository



More information about the Piuparts-commits mailing list