mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
PY-49453 DeprecationWarning: currentThread() is deprecated
GitOrigin-RevId: 896a4a150ba61936f0fdee93c6bd4fefa93ad2ac
This commit is contained in:
committed by
intellij-monorepo-bot
parent
15fcf230d5
commit
2a9d5417f0
@@ -1841,7 +1841,7 @@ class DispatchReader(ReaderThread):
|
||||
|
||||
@overrides(ReaderThread._on_run)
|
||||
def _on_run(self):
|
||||
dummy_thread = threading.currentThread()
|
||||
dummy_thread = threading.current_thread()
|
||||
dummy_thread.is_pydev_daemon_thread = False
|
||||
return ReaderThread._on_run(self)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user