Commit 32d123a1 authored by Jim Fulton's avatar Jim Fulton

. and .. support was broken. Waaaa.

parent 3a329f8a
...@@ -478,11 +478,11 @@ Publishing a module using CGI ...@@ -478,11 +478,11 @@ Publishing a module using CGI
containing the module to be published) to the module name in the containing the module to be published) to the module name in the
cgi-bin directory. cgi-bin directory.
$Id: Publish.py,v 1.98 1998/09/21 22:25:12 jim Exp $""" $Id: Publish.py,v 1.99 1998/09/21 22:49:26 jim Exp $"""
#' #'
# #
########################################################################## ##########################################################################
__version__='$Revision: 1.98 $'[11:-2] __version__='$Revision: 1.99 $'[11:-2]
import sys, os, string, cgi, regex import sys, os, string, cgi, regex
from string import * from string import *
...@@ -773,7 +773,7 @@ class ModulePublisher: ...@@ -773,7 +773,7 @@ class ModulePublisher:
if entry_name=='.': subobject=object if entry_name=='.': subobject=object
elif entry_name=='..' and parents: elif entry_name=='..' and parents:
subobject=parents[-1] subobject=parents[-1]
self.notFoundError(URL) else: self.notFoundError(URL)
try: try:
try: doc=subobject.__doc__ try: doc=subobject.__doc__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment