diff options
Diffstat (limited to 'pym/portage/elog/__init__.py')
-rw-r--r-- | pym/portage/elog/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/portage/elog/__init__.py b/pym/portage/elog/__init__.py index 77bdd1b94..5b8ac44c3 100644 --- a/pym/portage/elog/__init__.py +++ b/pym/portage/elog/__init__.py @@ -15,7 +15,8 @@ import os def _merge_logentries(a, b): rValue = {} - phases = set(a.keys()+b.keys()) + phases = set(a) + phases.update(b) for p in phases: rValue[p] = [] if a.has_key(p): @@ -51,7 +52,7 @@ def elog_process(cpv, mysettings): my_elog_classes = set(mysettings.get("PORTAGE_ELOG_CLASSES", "").split()) - for key in all_logentries.keys(): + for key in all_logentries: default_logentries = filter_loglevels(all_logentries[key], my_elog_classes) # in case the filters matched all messages and no module overrides exist |