[Zope-Checkins] CVS: Zope2 - DT_String.py:1.39.52.1

Andreas Jung andreas@dhcp165.digicool.com
Wed, 18 Apr 2001 10:36:40 -0400


Update of /cvs-repository/Zope2/lib/python/DocumentTemplate
In directory yetix:/work/sandboxes/ajung-2_4-ts_regex-exterminiation-branch/lib/python/DocumentTemplate

Modified Files:
      Tag: ajung-2_4-ts_regex-exterminiation-branch
	DT_String.py 
Log Message:
ts_regex/regex free zone



--- Updated File DT_String.py in package Zope2 --
--- DT_String.py	2000/12/12 21:20:25	1.39
+++ DT_String.py	2001/04/18 14:36:35	1.39.52.1
@@ -85,7 +85,7 @@
 "$Id$"
 
 from string import split, strip
-import regex, ts_regex
+import thread 
 
 from DT_Util import ParseError, InstanceDict, TemplateDict, render_blocks, str
 from DT_Var import Var, Call, Comment
@@ -401,7 +401,7 @@
 
     cook__roles__=()
     def cook(self,
-             cooklock=ts_regex.allocate_lock(),
+             cooklock=thread.allocate_lock(),
              ):
         cooklock.acquire()
         try: