From: Tim Peters Date: Wed, 30 Jan 2002 09:11:42 +0000 (+0000) Subject: Thanks to Detlef Lannert for pointing out a typo in the code that X-Git-Tag: v2.3c1~6762 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40915bf8dd035b193413dc149a58db4f54a785aa;p=thirdparty%2FPython%2Fcpython.git 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 99177f539f12..b981084b8b10 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py @@ -249,7 +249,7 @@ except ImportError: release = acquire _counter = _ThreadSafeCounter(_DummyMutex()) - _tempdir_lock = _DummyMutes() + _tempdir_lock = _DummyMutex() del _DummyMutex else: