helper_threading quality fixes

v0.6
lakshyacis 4 years ago
parent 1a7ef791e5
commit ee5be28179
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB

@ -16,6 +16,6 @@ else:
def _thread_name_hack(self):
set_thread_name(self.name)
threading.Thread.__bootstrap_original__(self)
# pylint: disable=protected-access
threading.Thread.__bootstrap_original__ = threading.Thread._Thread__bootstrap
threading.Thread._Thread__bootstrap = _thread_name_hack

Loading…
Cancel
Save