Browse Source

util: add print_msg() method to DaemonThread

it is used by at synchornizer.py, line 173
283
Roman Zeyde 10 years ago
parent
commit
90076b0b79
  1. 5
      lib/util.py

5
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)

Loading…
Cancel
Save