summaryrefslogtreecommitdiffstats
path: root/pym/portage/elog/mod_mail_summary.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-21 12:01:43 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-21 12:01:43 +0000
commit766862042c7da01a8aa0a8f5ebd259fe72e1fd57 (patch)
treed74a4e7f8373243cb5fe08e28f5d871e713a8759 /pym/portage/elog/mod_mail_summary.py
parentc081a2229d3873c9d61cc1b2d994adf01de8a6a8 (diff)
downloadportage-766862042c7da01a8aa0a8f5ebd259fe72e1fd57.tar.gz
portage-766862042c7da01a8aa0a8f5ebd259fe72e1fd57.tar.bz2
portage-766862042c7da01a8aa0a8f5ebd259fe72e1fd57.zip
Remove more unnecessary list generation.
svn path=/main/trunk/; revision=6913
Diffstat (limited to 'pym/portage/elog/mod_mail_summary.py')
-rw-r--r--pym/portage/elog/mod_mail_summary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/elog/mod_mail_summary.py b/pym/portage/elog/mod_mail_summary.py
index a8e694935..0a39b17b1 100644
--- a/pym/portage/elog/mod_mail_summary.py
+++ b/pym/portage/elog/mod_mail_summary.py
@@ -31,7 +31,7 @@ def finalize(mysettings):
mybody = "elog messages for the following packages generated by " + \
"process %d on host %s:\n" % (os.getpid(), socket.getfqdn())
- for key in _items.keys():
+ for key in _items:
mybody += "- %s\n" % key
mymessage = portage.mail.create_message(myfrom, myrecipient, mysubject, mybody, attachments=_items.values())