util: add print_msg() method to DaemonThread
it is used by at synchornizer.py, line 173
This commit is contained in:
@@ -47,6 +47,9 @@ class DaemonThread(threading.Thread):
|
|||||||
def print_error(self, *msg):
|
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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
is_verbose = False
|
is_verbose = False
|
||||||
|
|||||||
Reference in New Issue
Block a user