From: Luca Falavigna Date: Sun, 4 Mar 2012 10:19:41 +0000 (+0000) Subject: Fix sponsor email handling in new.822 (Closes: #662024) X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=198a51de73241876ec967153459668555949c8ff;p=dak.git Fix sponsor email handling in new.822 (Closes: #662024) Signed-off-by: Luca Falavigna --- diff --git a/dak/queue_report.py b/dak/queue_report.py index 5fd9288a..9c0d2926 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -550,7 +550,7 @@ def process_changes_files(changes_files, type, log, rrd_dir): (name, mail) = changedby.split(":", 1) log.write("Changed-By: " + name + " <"+mail+">" + "\n") if sponsor: - log.write("Sponsored-By: " + sponsor + "\n") + log.write("Sponsored-By: " + "@".join(sponsor.split("@")[:2]) + "\n") log.write("Distribution:") for dist in distribution: log.write(" " + dist)