[Zope3-checkins] CVS: Zope3/src/zope/documenttemplate - dt_html.py:1.3.46.1

Steve Alexander steve at cat-box.net
Wed Jan 14 15:58:45 EST 2004


Update of /cvs-repository/Zope3/src/zope/documenttemplate
In directory cvs.zope.org:/tmp/cvs-serv17568/src/zope/documenttemplate

Modified Files:
      Tag: steveachrismcd-securitypolicy-branch
	dt_html.py 
Log Message:
Removed all other traces of roles from the core code.


=== Zope3/src/zope/documenttemplate/dt_html.py 1.3 => 1.3.46.1 ===
--- Zope3/src/zope/documenttemplate/dt_html.py:1.3	Thu May  1 15:35:40 2003
+++ Zope3/src/zope/documenttemplate/dt_html.py	Wed Jan 14 15:58:14 2004
@@ -192,13 +192,14 @@
                        (("<"), '&lt;' ),
                        ((">"), '&gt;' ),
                        (('"'), '&quot;'))): #"
-        if text is None: text=self.read_raw()
-        for re,name in character_entities:
-            if text.find(re) >= 0: text=name.join(text.split(re))
+        if text is None:
+            text=self.read_raw()
+        for re, name in character_entities:
+            if text.find(re) >= 0:
+                text = name.join(text.split(re))
         return text
 
-    errQuote__roles__=()
-    errQuote=quotedHTML
+    errQuote = quotedHTML
 
     def __str__(self):
         return self.quotedHTML()




More information about the Zope3-Checkins mailing list