From 90076b0b791425b3fe62ad06f6f551237eb43d47 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sat, 13 Jun 2015 16:57:32 +0300 Subject: [PATCH] util: add print_msg() method to DaemonThread it is used by at synchornizer.py, line 173 --- lib/util.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/util.py b/lib/util.py index 3003a0c7c..22dc3887c 100644 --- a/lib/util.py +++ b/lib/util.py @@ -45,7 +45,10 @@ class DaemonThread(threading.Thread): self.running = False def print_error(self, *msg): - print_error("[%s]"%self.__class__.__name__, *msg) + print_error("[%s]" % self.__class__.__name__, *msg) + + def print_msg(self, *msg): + print_msg("[%s]" % self.__class__.__name__, *msg)