svn path=/main/trunk/; revision=9407
_elog_atexit_handlers = []
_preserve_logentries = {}
def elog_process(cpv, mysettings, phasefilter=None):
-
+ global _elog_atexit_handlers, _preserve_logentries
logsystems = mysettings.get("PORTAGE_ELOG_SYSTEM","").split()
for s in logsystems:
""" Backend for the other messaging functions, should not be called
directly.
"""
+
+ global _msgbuffer
+
if color == None:
color = "GOOD"
print colorize(color, " * ")+msg
#raise NotImplementedError()
def collect_messages():
+ global _msgbuffer
+
rValue = _msgbuffer
_reset_buffer()
return rValue
""" Reset the internal message buffer when it has been processed,
should not be called directly.
"""
+ global _msgbuffer
+
_msgbuffer = {}
# creating and exporting the actual messaging functions