summaryrefslogtreecommitdiffstats
path: root/pym/portage/elog/mod_mail_summary.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/elog/mod_mail_summary.py')
-rw-r--r--pym/portage/elog/mod_mail_summary.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/elog/mod_mail_summary.py b/pym/portage/elog/mod_mail_summary.py
index 2e870fe5d..40a2484a6 100644
--- a/pym/portage/elog/mod_mail_summary.py
+++ b/pym/portage/elog/mod_mail_summary.py
@@ -39,6 +39,7 @@ def _finalize(mysettings, items):
myrecipient = "root@localhost"
myfrom = mysettings["PORTAGE_ELOG_MAILFROM"]
+ myfrom = myfrom.replace("${HOST}", socket.getfqdn())
mysubject = mysettings["PORTAGE_ELOG_MAILSUBJECT"]
mysubject = mysubject.replace("${PACKAGE}", count)
mysubject = mysubject.replace("${HOST}", socket.getfqdn())