Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DeprecationWarning] Resolving warnings caused by deprecated function usage. #7820

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/distgraphlaunch.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def run(ssh_cmd):
subprocess.check_call(ssh_cmd, shell=True)

thread = Thread(target=run, args=(ssh_cmd,))
thread.setDaemon(True)
thread.daemon = True
thread.start()
return thread

Expand Down
2 changes: 1 addition & 1 deletion tools/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def run(ssh_cmd, state_q):
state_q,
),
)
thread.setDaemon(True)
thread.daemon = True
thread.start()
# sleep for a while in case of ssh is rejected by peer due to busy connection
time.sleep(0.2)
Expand Down
Loading