Commit e51ca051 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

baserlib: Fix feedback function

The feedback function is called with only one parameter, a tuple
with the message details.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent d8bcfe21
......@@ -219,15 +219,16 @@ def GetClient():
raise http.HttpBadGateway("Master seems to unreachable: %s" % str(err))
def FeedbackFn(ts, log_type, log_msg): # pylint: disable-msg=W0613
"""Feedback logging function for http case.
def FeedbackFn(msg):
"""Feedback logging function for jobs.
We don't have a stdout for printing log messages, so log them to the
http log at least.
@param ts: the timestamp (unused)
@param msg: the message
(_, log_type, log_msg) = msg"%s: %s", log_type, log_msg)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment