[Zope-Checkins] CVS: Zope2 - Application.py:1.148
evan@serenade.digicool.com
evan@serenade.digicool.com
Wed, 23 May 2001 15:31:36 -0400
Update of /cvs-repository/Zope2/lib/python/OFS
In directory serenade:/home/evan/Zope/trunk/lib/python/OFS
Modified Files:
Application.py
Log Message:
Fix old-style Product init.
--- Updated File Application.py in package Zope2 --
--- Application.py 2001/05/23 19:08:16 1.147
+++ Application.py 2001/05/23 19:31:36 1.148
@@ -674,8 +674,8 @@
for name,method in pgetattr(
product, 'methods', {}).items():
- if not hasattr(Folder, name):
- setattr(Folder, name, method)
+ if not hasattr(Folder.Folder, name):
+ setattr(Folder.Folder, name, method)
if name[-9:]!='__roles__': # not Just setting roles
if (permissions.has_key(name) and
not folder_permissions.has_key(