Remove unused _preserve_logentries code. v2.1.9.14
authorZac Medico <zmedico@gentoo.org>
Thu, 7 Oct 2010 19:25:02 +0000 (12:25 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 7 Oct 2010 19:26:19 +0000 (12:26 -0700)
pym/portage/elog/__init__.py

index 082acff9adca800bf77ea6b85f4a54d54d095479..1a8309dbc8e90a1a1e3f4c3c92d1270abadf6238 100644 (file)
@@ -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():