commit | 40915bf8dd035b193413dc149a58db4f54a785aa | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Wed Jan 30 09:11:42 2002 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Wed Jan 30 09:11:42 2002 +0000 |
tree | 0f2f0153c41ab81c7a4a2afadcfa3d834703ecbd | |
parent | c7349ee2c6863263eef4d48ee19f741e6d2244be [diff] |
Thanks to Detlef Lannert for pointing out a typo in the code that uses _DummyMutex on platforms without threads.
diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 99177f5..b981084 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py
@@ -249,7 +249,7 @@ release = acquire _counter = _ThreadSafeCounter(_DummyMutex()) - _tempdir_lock = _DummyMutes() + _tempdir_lock = _DummyMutex() del _DummyMutex else: