[Zope] Different external method and acquisition syntax question.

jelle jellej@pacbell.net
Wed, 08 Aug 2001 16:04:21 -0700 (PDT)


Hi Dieter,

Hurrah!

On Wed, 8 Aug 2001, Dieter Maurer wrote:

> jelle writes:
>  > #external method calling a python script
>  > def ex_test(self,param=3D''):
>  >     return ' ex_test ' + self.util.py_delta()

[ snipped=A0]

>     2. the number of provided parameters is one less than the
>        number of mandatory parameters.

The changed external method works.

def ex_test(self,param, dummy=3D'dummy'):
  return ' ex_test ' + str(param) + self.util.py_delta()

This is a much easier change than I feared.

Much thanks,
Jelle