Commit 9f6244ae authored by Jim Fulton's avatar Jim Fulton

Made notFoundError a little bit more informative.

parent 32d123a1
......@@ -478,11 +478,11 @@ Publishing a module using CGI
containing the module to be published) to the module name in the
cgi-bin directory.
$Id: Publish.py,v 1.99 1998/09/21 22:49:26 jim Exp $"""
$Id: Publish.py,v 1.100 1998/09/21 23:37:09 jim Exp $"""
#'
#
##########################################################################
__version__='$Revision: 1.99 $'[11:-2]
__version__='$Revision: 1.100 $'[11:-2]
import sys, os, string, cgi, regex
from string import *
......@@ -779,7 +779,7 @@ class ModulePublisher:
try: doc=subobject.__doc__
except: doc=getattr(object, entry_name+'__doc__')
if not doc: raise AttributeError, entry_name
except: self.notFoundError("%s" % (entry_name))
except: self.notFoundError("%s" % (URL))
if hasattr(subobject,'__roles__'): roles=subobject.__roles__
else:
......
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