diff options
Diffstat (limited to 'pym/portage/elog/mod_mail_summary.py')
-rw-r--r-- | pym/portage/elog/mod_mail_summary.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/portage/elog/mod_mail_summary.py b/pym/portage/elog/mod_mail_summary.py index 884df40c8..7410f05af 100644 --- a/pym/portage/elog/mod_mail_summary.py +++ b/pym/portage/elog/mod_mail_summary.py @@ -15,7 +15,10 @@ def process(mysettings, key, logentries, fulltext): mysettings, items = _items.setdefault(config_root, (mysettings, {})) items[key] = header + fulltext -def finalize(): +def finalize(mysettings=None): + """The mysettings parameter is just for backward compatibility since + an older version of portage will import the module from a newer version + when it upgrades itself.""" global _items for mysettings, items in _items.itervalues(): _finalize(mysettings, items) |