[Zope3-checkins] CVS: Zope3/src/zope/structuredtext -
document.py:1.2
Philipp von Weitershausen
philikon at philikon.de
Thu Feb 19 14:55:23 EST 2004
Update of /cvs-repository/Zope3/src/zope/structuredtext
In directory cvs.zope.org:/tmp/cvs-serv4418
Modified Files:
document.py
Log Message:
StructuredText method is now structurize. Must have forgotten that one.
=== Zope3/src/zope/structuredtext/document.py 1.1 => 1.2 ===
--- Zope3/src/zope/structuredtext/document.py:1.1 Thu Feb 19 14:46:31 2004
+++ Zope3/src/zope/structuredtext/document.py Thu Feb 19 14:55:22 2004
@@ -65,11 +65,11 @@
def __call__(self, doc):
if isinstance(doc, string_types):
- doc=stng.StructuredText(doc)
+ doc = stng.structurize(doc)
doc.setSubparagraphs(self.color_paragraphs(
doc.getSubparagraphs()))
else:
- doc=stng.StructuredTextDocument(self.color_paragraphs(
+ doc = stng.StructuredTextDocument(self.color_paragraphs(
doc.getSubparagraphs()))
return doc
More information about the Zope3-Checkins
mailing list