summaryrefslogtreecommitdiffstats
path: root/Lib/subprocess.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-13 01:31:43 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-13 01:31:43 (GMT)
commit2d9a086410546ef86358220eab652e03cd5ae5ab (patch)
tree6930490d6f96cad8f5a64e2131bacf746dd21eb2 /Lib/subprocess.py
parent3d17a5c5aec27ad483f68f36855ee9761181857f (diff)
downloadcpython-2d9a086410546ef86358220eab652e03cd5ae5ab.zip
cpython-2d9a086410546ef86358220eab652e03cd5ae5ab.tar.gz
cpython-2d9a086410546ef86358220eab652e03cd5ae5ab.tar.bz2
fix more threading API usage
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r--Lib/subprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index b239c48..d9c76d8 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -872,13 +872,13 @@ class Popen(object):
stdout = []
stdout_thread = threading.Thread(target=self._readerthread,
args=(self.stdout, stdout))
- stdout_thread.setDaemon(True)
+ stdout_thread.set_daemon(True)
stdout_thread.start()
if self.stderr:
stderr = []
stderr_thread = threading.Thread(target=self._readerthread,
args=(self.stderr, stderr))
- stderr_thread.setDaemon(True)
+ stderr_thread.set_daemon(True)
stderr_thread.start()
if self.stdin: