summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 40e32e37..e38261a0 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -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)