[py-svn] r33053 - py/branch/apigen/py/rst
fijal at codespeak.net
fijal at codespeak.net
Mon Oct 9 15:31:27 CEST 2006
Author: fijal
Date: Mon Oct 9 15:31:26 2006
New Revision: 33053
Modified:
py/branch/apigen/py/rst/rst.py
Log:
Forgotten commit.
Modified: py/branch/apigen/py/rst/rst.py
==============================================================================
--- py/branch/apigen/py/rst/rst.py (original)
+++ py/branch/apigen/py/rst/rst.py Mon Oct 9 15:31:26 2006
@@ -85,7 +85,7 @@
link_texts = []
for link, target in self.links.iteritems():
link_texts.append(".. _`%s`: %s" % (link, target))
- return "\n".join(link_texts) + "\n"
+ return "\n" + "\n".join(link_texts) + "\n"
def text(self):
outcome = []
@@ -151,14 +151,14 @@
all_txts = all_txt.split("\n")
return "\n".join([self.indent + i for i in all_txts])
-class Title(AbstractNode):
+class Title(Paragraph):
parentclass = Rest
belowchar = ""
abovechar = ""
previous_paragraph = None
def text(self):
- txt = AbstractNode.text(self)
+ txt = Paragraph.text(self)
lines = []
if self.abovechar:
lines.append(self.abovechar * len(txt))
More information about the pytest-commit
mailing list