]> granicus.if.org Git - python/commitdiff
Merged revisions 79543 via svnmerge from
authorBrian Curtin <brian.curtin@gmail.com>
Thu, 1 Apr 2010 04:05:25 +0000 (04:05 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Thu, 1 Apr 2010 04:05:25 +0000 (04:05 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79543 | brian.curtin | 2010-03-31 23:02:00 -0500 (Wed, 31 Mar 2010) | 2 lines

  Fix a test_pydoc failure on Neal Norwitz's buildbot.
........

Lib/pydoc.py

index 50b06904a8759777c93dcc0a1b9f4fd4d3e7bfe6..6b9dd3db2c720c315a0a9cd7ec10bc4a0290e33f 100755 (executable)
@@ -350,7 +350,7 @@ class Doc:
                                  '_thread', 'zipimport') or
              (file.startswith(basedir) and
               not file.startswith(os.path.join(basedir, 'site-packages')))) and
-            object.__name__ != 'xml.etree'):
+            object.__name__ not in ('xml.etree', 'test.pydoc_mod')):
             if docloc.startswith("http://"):
                 docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__)
             else: