[Piuparts-commits] [piuparts] 01/02: p-r: run dwke .tpl generation after archiving obsolete logs

Holger Levsen holger at moszumanska.debian.org
Fri Feb 14 10:10:45 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 972a9084109497eae82217f586f819e2e34fdb25
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri Feb 14 10:44:23 2014 +0100

    p-r: run dwke .tpl generation after archiving obsolete logs
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 piuparts-report.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/piuparts-report.py b/piuparts-report.py
index 36b69e7..cf1b2b3 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -1444,6 +1444,9 @@ class Section:
 
         self.create_package_summaries(logs_by_dir)
 
+        logging.debug("generate known problem *.tpl")
+        dwke_process_section(self._config.section, '.', self._output_directory, self._problem_list, self._binary_db)
+
         logging.debug("Writing section index page")
         self.write_section_index_page(dirs, total_packages)
 
@@ -1462,8 +1465,7 @@ class Section:
         self._output_directory = os.path.abspath(os.path.join(output_directory, self._config.section))
         if not os.path.exists(self._output_directory):
             os.makedirs(self._output_directory)
-
-        dwke_process_section(self._config.section, self._section_directory, self._output_directory, problem_list, self._binary_db)
+        self._problem_list = problem_list
 
         oldcwd = os.getcwd()
         os.chdir(self._section_directory)

-- 
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