diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-01 12:50:41 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-01 12:50:41 +0000 |
commit | a4c79bdfd0b8e5a58ce1bfd181a41a8625370b73 (patch) | |
tree | f4a103a83668c1e8280ee7044f185ce73b72cbf3 /pym/portage/elog/mod_mail_summary.py | |
parent | 5495f72f0c8202728636eb9bdac74ce5009b0d5a (diff) | |
download | portage-a4c79bdfd0b8e5a58ce1bfd181a41a8625370b73.tar.gz portage-a4c79bdfd0b8e5a58ce1bfd181a41a8625370b73.tar.bz2 portage-a4c79bdfd0b8e5a58ce1bfd181a41a8625370b73.zip |
Py3k compatibility patch #4 by Ali Polatel <hawking@g.o>.
Replace dict.has_key() calls with "in" and "not in" operators.
svn path=/main/trunk/; revision=10873
Diffstat (limited to 'pym/portage/elog/mod_mail_summary.py')
-rw-r--r-- | pym/portage/elog/mod_mail_summary.py | 2 |
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 8f7f86217..ed5147313 100644 --- a/pym/portage/elog/mod_mail_summary.py +++ b/pym/portage/elog/mod_mail_summary.py @@ -33,7 +33,7 @@ def _finalize(mysettings, items): count = "one package" else: count = "multiple packages" - if mysettings.has_key("PORTAGE_ELOG_MAILURI"): + if "PORTAGE_ELOG_MAILURI" in mysettings: myrecipient = mysettings["PORTAGE_ELOG_MAILURI"].split()[0] else: myrecipient = "root@localhost" |