[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51
Andreas Beckmann
anbe at debian.org
Wed May 15 10:09:55 UTC 2013
The following commit has been merged in the master branch:
commit d620f94c3ba37cfeb16606b96a537813b7cebdeb
Author: Andreas Beckmann <anbe at debian.org>
Date: Fri May 3 11:06:09 2013 +0200
dwke: use makedirs() to create output directory
to support hierarchical sections (e.g. sid/main)
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 47cc53d..5697a77 100755
--- a/master-bin/detect_well_known_errors
+++ b/master-bin/detect_well_known_errors
@@ -413,7 +413,7 @@ def update_html( section, logdict, problem_list, failures, config, pkgsdb ):
html_dir = os.path.join( config['output-directory'], section )
if not os.path.exists( html_dir ):
- os.mkdir( html_dir )
+ os.makedirs(html_dir)
for problem in problem_list:
update_tpl( html_dir, section, problem,
--
piuparts git repository
More information about the Piuparts-commits
mailing list