From e48e9b576b9a0f4459494236eb6cbaa87d5bee57 Mon Sep 17 00:00:00 2001 From: James Troup Date: Mon, 29 Apr 2002 22:00:44 +0000 Subject: [PATCH] Send accepted annoucnes to PTS too --- katie.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/katie.py b/katie.py index b49c1677..b2ac53a9 100644 --- a/katie.py +++ b/katie.py @@ -2,7 +2,7 @@ # Utility functions for katie # Copyright (C) 2001 James Troup -# $Id: katie.py,v 1.16 2002-04-24 01:56:24 troup Exp $ +# $Id: katie.py,v 1.17 2002-04-29 22:00:44 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -288,6 +288,8 @@ class Katie: if action: Subst["__ANNOUNCE_LIST_ADDRESS__"] = list; + if Cnf.get("Dinstall::TrackingServer") and changes["architecture"].has_key("source"): + Subst["__ANNOUNCE_LIST_ADDRESS__"] = Subst["__ANNOUNCE_LIST_ADDRESS__"] + "\nBcc: %s@%s" % (changes["source"], Cnf["Dinstall::TrackingServer"]) mail_message = utils.TemplateSubst(Subst,open(Cnf["Dir::TemplatesDir"]+"/jennifer.announce","r").read()); utils.send_mail (mail_message, "") -- 2.39.5