Commit 626455aa authored by Jean-Paul Smets's avatar Jean-Paul Smets

fixed comment (is->if)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2324 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1cf4d576
...@@ -292,8 +292,8 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): ...@@ -292,8 +292,8 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ):
def _aq_dynamic(self, id): def _aq_dynamic(self, id):
global aq_portal_type global aq_portal_type
ptype = self.portal_type ptype = self.portal_type
# Is this is a portal_type property and everything is already defined # If this is a portal_type property and everything is already defined
# for that portal_type, try to return a value ASAP # for that portal_type, try to return a value ASAP
if aq_portal_type.has_key(ptype): if aq_portal_type.has_key(ptype):
return getattr(aq_portal_type[ptype], id, None) return getattr(aq_portal_type[ptype], id, None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment