helper_threading quality fixes

This commit is contained in:
lakshyacis 2019-10-22 19:51:59 +05:30
parent 1a7ef791e5
commit ee5be28179
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB

View File

@ -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