amajorek's commit reminded me that we need the non-monkeypatched thread module here.

This commit is contained in:
Ryan Williams
2010-02-27 19:09:55 -08:00
parent fa6c4fab17
commit 44b615c8d3

View File

@@ -36,10 +36,11 @@ for var in profile_orig.__all__:
import new
import sys
import traceback
thread = __import__('thread') # Original module needed. 2to3 translated import thread as from . import thread
import functools
from eventlet import greenthread
from eventlet import patcher
thread = patcher.original('thread') # non-monkeypatched module needed
#This class provides the start() and stop() functions
class Profile(profile_orig.Profile):