From 121ec040d163d955f1ce41eecb755e462cd745f6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 7 Oct 2010 12:25:02 -0700 Subject: [PATCH] Remove unused _preserve_logentries code. --- pym/portage/elog/__init__.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pym/portage/elog/__init__.py b/pym/portage/elog/__init__.py index 082acff9a..1a8309dbc 100644 --- a/pym/portage/elog/__init__.py +++ b/pym/portage/elog/__init__.py @@ -83,9 +83,9 @@ def remove_listener(listener): _elog_listeners.remove(listener) _elog_atexit_handlers = [] -_preserve_logentries = {} + def elog_process(cpv, mysettings, phasefilter=None): - global _elog_atexit_handlers, _preserve_logentries + global _elog_atexit_handlers logsystems = mysettings.get("PORTAGE_ELOG_SYSTEM","").split() for s in logsystems: @@ -117,13 +117,6 @@ def elog_process(cpv, mysettings, phasefilter=None): else: all_logentries[cpv] = ebuild_logentries - for key in list(_preserve_logentries): - if key in all_logentries: - all_logentries[key] = _merge_logentries(_preserve_logentries[key], all_logentries[key]) - else: - all_logentries[key] = _preserve_logentries[key] - del _preserve_logentries[key] - my_elog_classes = set(mysettings.get("PORTAGE_ELOG_CLASSES", "").split()) logsystems = {} for token in mysettings.get("PORTAGE_ELOG_SYSTEM", "").split(): -- 2.26.2