Log message for revision 78464:
  Simplify aq_parent

Changed:
  U   Zope/branches/philikon-aq/lib/python/Products/Five/browser/__init__.py

-=-
Modified: Zope/branches/philikon-aq/lib/python/Products/Five/browser/__init__.py
===================================================================
--- Zope/branches/philikon-aq/lib/python/Products/Five/browser/__init__.py      
2007-07-29 15:26:37 UTC (rev 78463)
+++ Zope/branches/philikon-aq/lib/python/Products/Five/browser/__init__.py      
2007-07-29 15:28:56 UTC (rev 78464)
@@ -39,7 +39,7 @@
     def __setParent(self, parent):
         self._parent = parent
 
-    __parent__ = property(__getParent, __setParent)
+    aq_parent = __parent__ = property(__getParent, __setParent)
 
     # We provide the aq_* properties here for BBB
 
@@ -50,9 +50,5 @@
     aq_self = aq_inner = aq_base
 
     @property
-    def aq_parent(self):
-        return self.__parent__
-
-    @property
     def aq_chain(self):
         return aq_chain(self)

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to