You are not logged in Log in Join
You are here: Home » Download Zope Products » Zope » Zope » DT_String.diff » View File

Log in
Name

Password

 

DT_String.diff

File details
Size
1 K
File type
text/plain

File contents

Index: DT_String.py
===================================================================
RCS file: /cvs-repository/Zope2/lib/python/DocumentTemplate/DT_String.py,v
retrieving revision 1.31.4.3
retrieving revision 1.31.4.5
diff -c -r1.31.4.3 -r1.31.4.5
*** DT_String.py	2000/03/09 20:08:31	1.31.4.3
--- DT_String.py	2000/06/15 18:51:03	1.31.4.5
***************
*** 82,88 ****
  # attributions are listed in the accompanying credits file.
  # 
  ##############################################################################
! "$Id: DT_String.py,v 1.31.4.3 2000/03/09 20:08:31 brian Exp $"
  
  from string import split, strip
  import regex, ts_regex
--- 82,88 ----
  # attributions are listed in the accompanying credits file.
  # 
  ##############################################################################
! "$Id: DT_String.py,v 1.31.4.5 2000/06/15 18:51:03 brian Exp $"
  
  from string import split, strip
  import regex, ts_regex
***************
*** 326,331 ****
--- 326,332 ----
      def name(self): return self.__name__
      id=name
  
+     setName__roles__=[]
      def setName(self,v): self.__dict__['__name__']=v
  
      def default(self,name=None,**kw):
***************
*** 354,359 ****
--- 355,361 ----
          for key in kw.keys(): self._vars[key]=kw[key]
          return name
  
+     munge__roles__=[]
      def munge(self,source_string=None,mapping=None,**vars):
          """\
          Change the text or default values for a document template.