[Piuparts-commits] [SCM] piuparts git repository branch, bikeshed, updated. 0.51-37-g558efaa

David Steele dsteele at gmail.com
Thu May 23 08:57:51 UTC 2013


The following commit has been merged in the bikeshed branch:
commit 558efaad778069bf5cfec05e84c8a28b2b33e387
Author: David Steele <dsteele at gmail.com>
Date:   Wed May 22 20:36:43 2013 -0400

    dwke - Skip section if Section dir is inaccessible.
    
    detect_well_known_errors() was crashing during the daily run on days
    when a section was added (due to a return with the wrong number of
    arguments).

diff --git a/master-bin/detect_well_known_errors.py b/master-bin/detect_well_known_errors.py
index bc91540..3dc0264 100755
--- a/master-bin/detect_well_known_errors.py
+++ b/master-bin/detect_well_known_errors.py
@@ -466,7 +466,7 @@ def process_section( section, config, problem_list,
     workdirs = [ os.path.join(sectiondir,x) for x in KPR_DIRS ]
 
     if not os.access( sectiondir, os.F_OK ):
-        return
+        raise MissingSection( "", section )
 
     [os.mkdir(x) for x in workdirs if not os.path.exists(x)]
 

-- 
piuparts git repository



More information about the Piuparts-commits mailing list