Skip to content

Commit

Permalink
Discourage the use of the upper-case RESPONSE attribute. The lower-case
Browse files Browse the repository at this point in the history
response attribute works perfectly fine (and has for ages) and it has the
advantage of being supported by Zope 3 as well.
  • Loading branch information
philikon committed Jul 25, 2007
1 parent ed2cf2c commit 272b655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/default_py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Import a standard function, and get the HTML request and response objects.
from Products.PythonScripts.standard import html_quote
request = container.REQUEST
RESPONSE = request.RESPONSE
response = request.response

# Return a string identifying this script.
print "This is the", script.meta_type, '"%s"' % script.getId(),
Expand Down

0 comments on commit 272b655

Please sign in to comment.