diff options
author | Karthikeyan Singaravelan <tir.karthi@gmail.com> | 2021-04-17 05:31:33 +0000 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-04-17 13:40:44 +0800 |
commit | c03da67aabaab6852020edf8c28533d88c87e43f (patch) | |
tree | 9fc84735216a54096630ab5e6d9eec662ab224d0 | |
parent | 9e7314c57ef56aaf5fd27a311bfa6a01d18366a2 (diff) | |
download | gitpython-c03da67aabaab6852020edf8c28533d88c87e43f.tar.gz |
Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10
-rw-r--r-- | git/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ def handle_process_output(process, stdout_handler, stderr_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) |