[Zope3-checkins] CVS: Zope3/src/zope/publisher - http.py:1.15

Barry Warsaw barry@wooz.org
Tue, 25 Mar 2003 10:13:13 -0500


Update of /cvs-repository/Zope3/src/zope/publisher
In directory cvs.zope.org:/tmp/cvs-serv25622/src/zope/publisher

Modified Files:
	http.py 
Log Message:
HTTPRequest: Make locale a property.


=== Zope3/src/zope/publisher/http.py 1.14 => 1.15 ===
--- Zope3/src/zope/publisher/http.py:1.14	Tue Mar 25 09:32:20 2003
+++ Zope3/src/zope/publisher/http.py	Tue Mar 25 10:13:11 2003
@@ -333,8 +333,9 @@
             # which is guaranteed to exist
             self._locale = locales.getLocale(None, None, None)
 
-    def getLocale(self):
+    def _getLocale(self):
         return self._locale
+    locale = property(_getLocale)
 
     def __setupURLBase(self):