From 2067bfdf253e134a4144d3747300dbfcc7cc6203 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 25 May 2008 13:05:15 +0000 Subject: Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. --- Lib/mimetools.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Lib/mimetools.py') diff --git a/Lib/mimetools.py b/Lib/mimetools.py index 0112f481f0..3ea5e1b3e6 100644 --- a/Lib/mimetools.py +++ b/Lib/mimetools.py @@ -96,11 +96,11 @@ class Message(rfc822.Message): # ----------------- try: - import thread + import _thread except ImportError: - import dummy_thread as thread -_counter_lock = thread.allocate_lock() -del thread + import _dummy_thread as _thread +_counter_lock = _thread.allocate_lock() +del _thread _counter = 0 def _get_next_counter(): -- cgit v1.2.1