[Piuparts-devel] pull: for-holger

Dave Steele dsteele at gmail.com
Sun Apr 28 23:38:25 UTC 2013


On Sun, Apr 28, 2013 at 10:56 AM, Andreas Beckmann <anbe at debian.org> wrote:
>
> Andreas Beckmann (3):
...
>       dwke: put empty line before first bugged or affected log


--- a/master-bin/detect_well_known_errors
+++ b/master-bin/detect_well_known_errors
@@ -382,7 +382,7 @@ def update_tpl( basedir, section, problem,
failures, logdict, ftpl, ptpl, pkgsdb
             src_pkg = bin_pkg
             rdep_cnt = 0

-        if (not bugged_section) and ("bugged" in logdict[pkgspec] or
"affected" in logdict[pkgspec]):
+        if bugged_section is False and get_where(logdict[pkgspec]) != 'fail':
             bugged_section = True
             pkg_text += "<br>\n"


Not tested



More information about the Piuparts-devel mailing list