[Zope-CMF] Re: [Plone-users] Still having problems with tool creation...
Raphael Ritz
r.ritz@biologie.hu-berlin.de
Fri, 18 Jul 2003 11:21:13 +0200
Dmitry S. Makovey wrote:
>
><Course.py>
>...
> def getCreditWeights(self):
> syllabus_tool=getToolByName(self,self.syllabus_tool_name)
>
Can you confirm whether this really returns the tool you want?
(do course objects 'know' the right 'syllabus_tool_name'?)
and btw: it would not hurt to provide getList (and other public methods)
with a docstring.
Raphael
> return syllabus_tool.getList('credit_weights')
>...
></Course.py>
>
>
>
>