summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-21 02:36:26 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-21 02:36:26 +0000
commit949c25399175bab695d96ae37c0f0dbb23637c69 (patch)
tree82628536861e47c353c78d7f98bc080ea7fe6840
parentbdb9600295662f022e3b2c147abad3c945c517f6 (diff)
downloadportage-949c25399175bab695d96ae37c0f0dbb23637c69.tar.gz
portage-949c25399175bab695d96ae37c0f0dbb23637c69.tar.bz2
portage-949c25399175bab695d96ae37c0f0dbb23637c69.zip
For bug #158658, fix the 'TypeError: int argument required' that happens in the finalize() routine.
svn path=/main/trunk/; revision=5343
-rw-r--r--pym/elog_modules/mod_mail_summary.py3
1 files changed, 2 insertions, 1 deletions
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