Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc03da67

Browse files
tirkarthiByron
authored andcommitted
Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10
1 parent9e7314c commitc03da67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def pump_stream(cmdline, name, stream, is_decode, handler):
103103
forname,stream,handlerinpumps:
104104
t=threading.Thread(target=pump_stream,
105105
args=(cmdline,name,stream,decode_streams,handler))
106-
t.setDaemon(True)
106+
t.daemon=True
107107
t.start()
108108
threads.append(t)
109109

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp