[Checkins] SVN: zope.app.component/trunk/src/zope/app/component/hooks.py Replaced dependency on zope.thread.local with threading.local

Shane Hathaway shane at hathawaymix.org
Sat Jul 12 15:51:15 EDT 2008


Log message for revision 88298:
  Replaced dependency on zope.thread.local with threading.local

Changed:
  U   zope.app.component/trunk/src/zope/app/component/hooks.py

-=-
Modified: zope.app.component/trunk/src/zope/app/component/hooks.py
===================================================================
--- zope.app.component/trunk/src/zope/app/component/hooks.py	2008-07-12 19:50:37 UTC (rev 88297)
+++ zope.app.component/trunk/src/zope/app/component/hooks.py	2008-07-12 19:51:15 UTC (rev 88298)
@@ -17,8 +17,8 @@
 """
 __docformat__ = 'restructuredtext'
 
+import threading
 import zope.component
-import zope.thread
 import zope.security
 
 class read_property(object):
@@ -31,7 +31,7 @@
 
         return self.func(inst)
 
-class SiteInfo(zope.thread.local):
+class SiteInfo(threading.local):
     site = None
     sm = zope.component.getGlobalSiteManager()
 



More information about the Checkins mailing list