From f1828f5393d6ed8f7bad0029257d31dd057944f1 Mon Sep 17 00:00:00 2001
From: Mattia Rizzolo
' out = out.decode().splitlines() + get_mail = re.compile('<(.*)>') for line in out: if line[0:3] == ' ': line = line.strip().split(None, 1) @@ -61,8 +62,11 @@ for suite in SUITES: html += ' ' + line[1] # eventual uploaders sign except IndexError: pass - else: + elif line.strip(): # be sure this is not just an empty line + email = get_mail.findall(line.strip())[0] html += HTML.escape(line.strip()) + html += '¶'.format( + maint=email) html += '\n' html += '' title = 'Maintainers of unreproducible packages in ' + suite -- cgit v1.2.3-54-g00ecf