[Zope-Checkins] CVS: Zope2 - DT_Var.py:1.41
chrism@serenade.digicool.com
chrism@serenade.digicool.com
Mon, 18 Jun 2001 14:12:23 -0400
Update of /cvs-repository/Zope2/lib/python/DocumentTemplate
In directory serenade:/home/chrism/NewZopeOrg/SoftwareHome/lib/python/DocumentTemplate
Modified Files:
DT_Var.py
Log Message:
Instead of defining html_quote function, import it from the html_quote module.
--- Updated File DT_Var.py in package Zope2 --
--- DT_Var.py 2001/04/27 20:59:34 1.40
+++ DT_Var.py 2001/06/18 18:12:22 1.41
@@ -225,9 +225,7 @@
from string import find, split, join, atoi, rfind
from urllib import quote, quote_plus
from cgi import escape
-
-def html_quote(v, name='(Unknown name)', md={}):
- return escape(str(v), 1)
+from html_quote import html_quote # for import by other modules, dont remove!
class Var:
name='var'