summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-07 12:25:02 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-07 12:26:19 -0700
commit5e66c1b9b074284b59daf4bb24aa010be02d0d56 (patch)
treeb488aa85b4cd82eb7986033311063315a88daf89
parent9461672343442787bbf6456bf233e180c09f4aab (diff)
downloadportage-5e66c1b9b074284b59daf4bb24aa010be02d0d56.tar.gz
portage-5e66c1b9b074284b59daf4bb24aa010be02d0d56.tar.bz2
portage-5e66c1b9b074284b59daf4bb24aa010be02d0d56.zip
Remove unused _preserve_logentries code.v2.1.9.14
-rw-r--r--pym/portage/elog/__init__.py11
1 files 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():