Index: xmlrpc.py =================================================================== RCS file: /cvs-repository/Zope/lib/python/ZPublisher/xmlrpc.py,v retrieving revision 1.15.62.3 diff -u -r1.15.62.3 xmlrpc.py --- xmlrpc.py 11 Jan 2004 21:48:21 -0000 1.15.62.3 +++ xmlrpc.py 12 Jan 2004 00:30:55 -0000 @@ -24,7 +24,7 @@ from HTTPResponse import HTTPResponse import xmlrpclib -from zExceptions import Unauthorized +from zExceptions import Unauthorized, NotFound def parse_input(data): """Parse input data and return a method path and argument tuple @@ -133,11 +133,12 @@ if type(info) is type(()) and len(info)==3: t,v,tb = info else: t,v,tb = sys.exc_info() - # Don't mask 404 respnses, as some XML-RPC libraries rely on the HTTP + # Don't mask 404 responses, as some XML-RPC libraries rely on the HTTP # mechanisms for detecting when authentication is required. Fixes Zope # Collector issue 525. if t == 'Unauthorized' or ( - isinstance(t, types.ClassType) and issubclass(t, Unauthorized) + isinstance(t, types.ClassType) and + (issubclass(t, Unauthorized) or issubclass(t, NotFound)) ): return self._real.exception(fatal=fatal, info=info)