Skip to content
Merged
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
Set daemon attribute instead of using setDaemon method that was depre…
…cated in Python 3.10
  • Loading branch information
tirkarthi committed Apr 17, 2021
commit e6f7435c534d799fdee0282ac6d3adf3d8770e2c
2 changes: 1 addition & 1 deletion git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def pump_stream(cmdline, name, stream, is_decode, handler):
for name, stream, handler in pumps:
t = threading.Thread(target=pump_stream,
args=(cmdline, name, stream, decode_streams, handler))
t.setDaemon(True)
t.daemon = True
t.start()
threads.append(t)

Expand Down