From 949c25399175bab695d96ae37c0f0dbb23637c69 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 21 Dec 2006 02:36:26 +0000 Subject: [PATCH] For bug #158658, fix the 'TypeError: int argument required' that happens in the finalize() routine. svn path=/main/trunk/; revision=5343 --- pym/elog_modules/mod_mail_summary.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/elog_modules/mod_mail_summary.py b/pym/elog_modules/mod_mail_summary.py index 53628b920..5e642f418 100644 --- a/pym/elog_modules/mod_mail_summary.py +++ b/pym/elog_modules/mod_mail_summary.py @@ -29,7 +29,8 @@ def finalize(mysettings): mysubject = mysubject.replace("${PACKAGE}", count) mysubject = mysubject.replace("${HOST}", socket.getfqdn()) - mybody = "elog messages for the following packages generated by process %d on host %s:\n" % (count, os.getpid(), socket.getfqdn()) + mybody = "elog messages for the following packages generated by " + \ + "process %d on host %s:\n" % (os.getpid(), socket.getfqdn()) for cpv in _items.keys(): mybody += "- %s\n" % cpv -- 2.26.2