[Zope-CVS] SVN: book/trunk/formatns/__init__.py removeSecurityProxy
was removed from zapi.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Aug 30 22:09:07 EDT 2004
Log message for revision 27358:
removeSecurityProxy was removed from zapi.
Changed:
U book/trunk/formatns/__init__.py
-=-
Modified: book/trunk/formatns/__init__.py
===================================================================
--- book/trunk/formatns/__init__.py 2004-08-31 00:44:33 UTC (rev 27357)
+++ book/trunk/formatns/__init__.py 2004-08-31 02:09:07 UTC (rev 27358)
@@ -17,7 +17,7 @@
"""
from zope.interface import implements
from zope.tales.interfaces import ITALESFunctionNamespace
-from zope.app import zapi
+from zope.security.proxy import removeSecurityProxy
from interfaces import IFormatTalesAPI
@@ -30,7 +30,7 @@
def setEngine(self, engine):
"""See zope.tales.interfaces.ITALESFunctionNamespace"""
- self.locale = zapi.removeSecurityProxy(engine.vars['request']).locale
+ self.locale = removeSecurityProxy(engine.vars['request']).locale
def shortDate(self):
"""See book.formatns.interfaces.IFormatTalesAPI"""
More information about the Zope-CVS
mailing list