From: Zac Medico Date: Thu, 7 Oct 2010 19:25:02 +0000 (-0700) Subject: Remove unused _preserve_logentries code. X-Git-Tag: v2.1.9.14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5e66c1b9b074284b59daf4bb24aa010be02d0d56;p=portage.git Remove unused _preserve_logentries code. --- 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():