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:25:02 -0700
commit121ec040d163d955f1ce41eecb755e462cd745f6 (patch)
treec27396113a34bb98221b6bea6fa6cf740a5ebdec
parent9dbf9e4f3236eed0be1d55d62b118b846ff8a60a (diff)
downloadportage-121ec040d163d955f1ce41eecb755e462cd745f6.tar.gz
portage-121ec040d163d955f1ce41eecb755e462cd745f6.tar.bz2
portage-121ec040d163d955f1ce41eecb755e462cd745f6.zip
Remove unused _preserve_logentries code.
-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():