helper_threading quality fixes
This commit is contained in:
parent
1a7ef791e5
commit
ee5be28179
|
@ -16,6 +16,6 @@ else:
|
||||||
def _thread_name_hack(self):
|
def _thread_name_hack(self):
|
||||||
set_thread_name(self.name)
|
set_thread_name(self.name)
|
||||||
threading.Thread.__bootstrap_original__(self)
|
threading.Thread.__bootstrap_original__(self)
|
||||||
|
# pylint: disable=protected-access
|
||||||
threading.Thread.__bootstrap_original__ = threading.Thread._Thread__bootstrap
|
threading.Thread.__bootstrap_original__ = threading.Thread._Thread__bootstrap
|
||||||
threading.Thread._Thread__bootstrap = _thread_name_hack
|
threading.Thread._Thread__bootstrap = _thread_name_hack
|
||||||
|
|
Loading…
Reference in New Issue
Block a user