[Zope-CMF] usage of getCustomizableObject
Martijn Pieters
mj@digicool.com
Wed, 11 Apr 2001 11:56:23 +0200
In all of the FS* objects, the method manage_doCustomize calls the
acquired method DirectoryView.getCustomizableObject(), but doesn't do
anything with the return value:
def manage_doCustomize(self, folder_path, data=None, RESPONSE=None):
...
custFolder = self.getCustomizableObject()
... no usage of custFolder
What is it's intent? To raise an error if no DirectoryView object is
found? In that case no getCustomizableObject method will be found either,
so it misses the point a bit.
Can I just remove the call? (And the method, it isn't used anywhere else).
--
Martijn Pieters
| Software Engineer mailto:mj@digicool.com
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
---------------------------------------------