Remove buggy log message if prctl is missing
- it's not that important that you need to be informed of it, and importing logging may cause cyclic dependencies/other problems
This commit is contained in:
parent
ba4162d7fe
commit
de22e547c5
|
@ -10,7 +10,6 @@ try:
|
|||
threading.Thread.__bootstrap_original__ = threading.Thread._Thread__bootstrap
|
||||
threading.Thread._Thread__bootstrap = _thread_name_hack
|
||||
except ImportError:
|
||||
log('WARN: prctl module is not installed. You will not be able to see thread names')
|
||||
def set_thread_name(name): pass
|
||||
|
||||
class StoppableThread(object):
|
||||
|
|
Loading…
Reference in New Issue
Block a user