[Zope3-checkins] CVS: Zope3/src/zope/publisher/interfaces - http.py:1.12
Barry Warsaw
barry@wooz.org
Tue, 25 Mar 2003 10:13:27 -0500
Update of /cvs-repository/Zope3/src/zope/publisher/interfaces
In directory cvs.zope.org:/tmp/cvs-serv25649/src/zope/publisher/interfaces
Modified Files:
http.py
Log Message:
IHTTPRequest: Make locale a property.
=== Zope3/src/zope/publisher/interfaces/http.py 1.11 => 1.12 ===
--- Zope3/src/zope/publisher/interfaces/http.py:1.11 Tue Mar 25 09:32:51 2003
+++ Zope3/src/zope/publisher/interfaces/http.py Tue Mar 25 10:13:26 2003
@@ -186,8 +186,8 @@
and POST in the case of browser requests) and XML-RPC methods.
"""
- def getLocale():
- """Return the locale object associated with this request."""
+ locale = Attribute(
+ "Return the locale object associated with this request.")
class IHTTPCredentials(Interface):