Import TemplateIO from _py_htmltext or _c_htmltext. (quixote/html.py)
Neil Schemenauer <nascheme-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Wed, 08 Jan 2003 19:12:53 -0500
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/cvs/quixote
In directory hewson:/tmp/cvs-serv20520
Modified Files:
html.py
Log Message:
Import TemplateIO from _py_htmltext or _c_htmltext.
Index: html.py
===================================================================
RCS file: /home/cvs/quixote/html.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- html.py 8 Jan 2003 20:16:24 -0000 1.23
+++ html.py 9 Jan 2003 00:12:51 -0000 1.24
@@ -59,10 +59,11 @@
try:
# faster C implementation
- from quixote._c_htmltext import htmltext, htmlescape, _escape_string
+ from quixote._c_htmltext import htmltext, htmlescape, _escape_string, \
+ TemplateIO
except ImportError:
- from quixote._py_htmltext import htmltext, htmlescape, _escape_string
-
+ from quixote._py_htmltext import htmltext, htmlescape, _escape_string, \
+ TemplateIO
ValuelessAttr = ["valueless_attr"] # magic singleton object