]> err.no Git - dak/commitdiff
Properly replace ALL values
authorJoerg Jaspert <joerg@debian.org>
Sat, 11 Sep 2010 21:07:03 +0000 (23:07 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sat, 11 Sep 2010 21:07:03 +0000 (23:07 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/add_user.py

index aed5d53b4cfef463667438b6c8a8c1e6c882ae50..f087849c8bd507653af2c7af8c357bc1fc767bb8 100755 (executable)
@@ -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)