fixed pkg errors and commented threading bootstrap code

This commit is contained in:
shekhar-cis 2021-09-09 16:09:29 +05:30
parent 050b113e01
commit 7d2578e16a
Signed by untrusted user: shekhar-cis
GPG Key ID: 8B2A6C8D5F7F1635

View File

@ -36,8 +36,8 @@ else:
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
# threading.Thread.__bootstrap_original__ = threading.Thread._Thread__bootstrap
# threading.Thread._Thread__bootstrap = _thread_name_hack
printLock = threading.Lock()