[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-cvs
Subject: [Zope-Checkins]
From: Hanno Schlichting <plone () hannosch ! info>
Date: 2007-07-29 15:28:56
Message-ID: 20070729152856.940DD2037F6 () mail ! zope ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic