Skip to content

Commit c03da67

Browse files
tirkarthiByron
authored andcommitted
Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10
1 parent 9e7314c commit c03da67

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
for name, stream, handler in pumps:
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy