Merged revisions 79529 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk
This commit is contained in:
Brian Curtin 2010-03-31 17:46:38 +00:00
parent 8f8db14bb0
commit fd2bfb02db

View file

@ -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__ not in ('xml.etree')):
object.__name__ != 'xml.etree'):
if docloc.startswith("http://"):
docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__)
else: