[Checkins] SVN: Zope/branches/elro-remove-request-container/src/OFS/Application.py Add an aq_explicit property to the Application object as it is not longer aq wrapped.

Laurence Rowe l at lrowe.co.uk
Sat Jan 22 11:49:27 EST 2011


Log message for revision 119841:
  Add an aq_explicit property to the Application object as it is not longer aq wrapped.

Changed:
  U   Zope/branches/elro-remove-request-container/src/OFS/Application.py

-=-
Modified: Zope/branches/elro-remove-request-container/src/OFS/Application.py
===================================================================
--- Zope/branches/elro-remove-request-container/src/OFS/Application.py	2011-01-22 16:47:05 UTC (rev 119840)
+++ Zope/branches/elro-remove-request-container/src/OFS/Application.py	2011-01-22 16:49:26 UTC (rev 119841)
@@ -245,6 +245,14 @@
     def REQUEST(self):
         del self.__dict__['REQUEST']
 
+    @property
+    def aq_explicit(self):
+        # aq_explict is a property of acquisition wrappers. As the Application
+        # object is no longer wrapped in a RequestContainer, it must be
+        # supported directly.
+        return self
+
+
 InitializeClass(Application)
 
 



More information about the checkins mailing list