[py-svn] r35313 - py/dist/py/apigen/source
guido at codespeak.net
guido at codespeak.net
Tue Dec 5 17:26:49 CET 2006
Author: guido
Date: Tue Dec 5 17:26:48 2006
New Revision: 35313
Modified:
py/dist/py/apigen/source/html.py
Log:
Was accidentally filtering out comments.
Modified: py/dist/py/apigen/source/html.py
==============================================================================
--- py/dist/py/apigen/source/html.py (original)
+++ py/dist/py/apigen/source/html.py Tue Dec 5 17:26:48 2006
@@ -141,7 +141,7 @@
tokens = self.tokenizer.tokenize(item)
for t in tokens:
if t.type in ['keyword', 'alt_keyword', 'number',
- 'string']:
+ 'string', 'comment']:
ret.append(html.span(t.data, class_=t.type))
else:
ret.append(t.data)
More information about the pytest-commit
mailing list