commit 3ff85ca82e420d800ecc1c8428a9494d060e1cd2
Author: Ondrej Lichtner <olichtne(a)redhat.com>
Date: Thu Oct 18 16:16:24 2012 +0200
LoggingHandler: forgotten change of makePickle docstring
This patch changes the docstring of the method makePickle.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
Common/LoggingHandler.py | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/Common/LoggingHandler.py b/Common/LoggingHandler.py
index 8f188f6..7b7174e 100644
--- a/Common/LoggingHandler.py
+++ b/Common/LoggingHandler.py
@@ -31,11 +31,7 @@ class LogBuffer(logging.Handler):
def makePickle(self, record):
"""
- Pickles the record in binary format with a length prefix, and
- returns it ready for transmission across the socket.
-
- Function taken from class SocketHandler from standard python
- library logging.handlers
+ Pickles the record so that it can be sent over the xmlrpc we use.
"""
d = dict(record.__dict__)
d['msg'] = record.getMessage()
Show replies by date