[Piuparts-commits] [piuparts] 01/10: piuparts-report: Minor rework of main loop
Holger Levsen
holger at moszumanska.debian.org
Mon Mar 3 02:57:24 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 247ac539ccb9dc08e08defa625b63b3205387f19
Author: David Steele <dsteele at gmail.com>
Date: Thu Feb 13 19:04:40 2014 -0500
piuparts-report: Minor rework of main loop
---
piuparts-report.py | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/piuparts-report.py b/piuparts-report.py
index 778bd83..daf1b0c 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -1553,6 +1553,7 @@ def main():
process_section_names = sys.argv[1:]
master_directory = global_config["master-directory"]
output_directory = global_config["output-directory"]
+
doc_root = global_config["doc-root"].strip()
if not doc_root.startswith("/"):
doc_root = "/" + doc_root
@@ -1567,13 +1568,9 @@ def main():
for section_name in process_section_names:
try:
section = Section(section_name, master_directory, doc_root, packagedb_cache=packagedb_cache)
+ section.generate_output(output_directory, section_names, problem_list)
except MissingSection as e:
logging.error("Configuration Error in section '%s': %s" % (section_name, e))
- else:
- section.generate_output(
- output_directory=output_directory,
- section_names=section_names,
- problem_list=problem_list)
# static pages
logging.debug("Writing static pages")
--
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