Commit 23ae6855 authored by Jim Fulton's avatar Jim Fulton

Fixed stupid typo.

parent 7fb9697d
......@@ -84,8 +84,8 @@
##############################################################################
'''CGI Response Output formatter
$Id: HTTPResponse.py,v 1.1 1999/02/18 17:17:56 jim Exp $'''
__version__='$Revision: 1.1 $'[11:-2]
$Id: HTTPResponse.py,v 1.2 1999/03/01 18:31:22 jim Exp $'''
__version__='$Revision: 1.2 $'[11:-2]
import string, types, sys, regex
from string import find, rfind, lower, upper, strip, split, join, translate
......@@ -455,7 +455,7 @@ class HTTPResponse(BaseResponse):
"Internal Error",
"Sorry, an internal error occurred in this resource.")
raise 'BadRequest',self.html(
raise 'BadRequest',self._html(
"Invalid request",
"The parameter, <em>%s</em>, was omitted from the request."
"<!--%s-->"
......
......@@ -84,8 +84,8 @@
##############################################################################
__doc__="""Python Object Publisher -- Publish Python objects on web servers
$Id: Publish.py,v 1.124 1999/02/22 20:48:35 jim Exp $"""
__version__='$Revision: 1.124 $'[11:-2]
$Id: Publish.py,v 1.125 1999/03/01 18:29:48 jim Exp $"""
__version__='$Revision: 1.125 $'[11:-2]
import sys, os
from string import lower, atoi, rfind, strip
......@@ -100,7 +100,7 @@ def call_object(object, args, request):
def missing_name(name, request):
if name=='self': return request['PARENTS'][0]
request.response.self.badRequestError(name)
request.response.badRequestError(name)
def dont_publish_class(klass, request):
request.response.forbiddenError("class %s" % klass.__name__)
......
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