From: Joerg Jaspert Date: Sat, 11 Sep 2010 21:07:03 +0000 (+0200) Subject: Properly replace ALL values X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=0c59a4d8c7028967be7b6368990ee4695c68e5d0;p=dak.git Properly replace ALL values Signed-off-by: Joerg Jaspert --- diff --git a/dak/add_user.py b/dak/add_user.py index aed5d53b..f087849c 100755 --- a/dak/add_user.py +++ b/dak/add_user.py @@ -195,7 +195,9 @@ def main(): Subst["__KEYID__"] = Cnf["Add-User::Options::Key"] Subst["__PRIMARY_KEY__"] = primary_key Subst["__FROM_ADDRESS__"] = Cnf["Dinstall::MyEmailAddress"] + Subst["__ADMIN_ADDRESS__"] = Cnf["Dinstall::MyAdminAddress"] Subst["__HOSTNAME__"] = Cnf["Dinstall::MyHost"] + Subst["__DISTRO__"] = Cnf["Dinstall::MyDistribution"] Subst["__SUMMARY__"] = summary new_add_message = utils.TemplateSubst(Subst,Cnf["Dir::Templates"]+"/add-user.added") utils.send_mail(new_add_message)