[pypy-svn] r41038 - pypy/dist/pypy/doc

hpk at codespeak.net hpk at codespeak.net
Thu Mar 22 14:14:08 CET 2007


Author: hpk
Date: Thu Mar 22 14:14:06 2007
New Revision: 41038

Modified:
   pypy/dist/pypy/doc/conftest.py
Log:
i think the statistic directory is not meant for rest-generation,
correct me if i am wrong (this fixes a few weird errors, there
might be another fix)


Modified: pypy/dist/pypy/doc/conftest.py
==============================================================================
--- pypy/dist/pypy/doc/conftest.py	(original)
+++ pypy/dist/pypy/doc/conftest.py	Thu Mar 22 14:14:06 2007
@@ -44,6 +44,11 @@
     
 class Directory(Directory): 
     ReSTChecker = PyPyReSTChecker 
+    def run(self):
+        l = super(Directory, self).run()
+        if 'statistic' in l:
+            l.remove('statistic')
+        return l
 
 try:
     from docutils.parsers.rst import directives, states, roles



More information about the Pypy-commit mailing list