Re: [Zope] getattr in Python Method problem

2000-11-27 Thread Dieter Maurer
Peter Bengtsson writes: In the folder where dosomething_pym (Python Method) is located, is also a string property set called 'en' with the value 'English' The Python Method object is called with no parameters, but is defined with the 'self' parameter inside the Python Method object.

[Zope] getattr in Python Method problem

2000-11-26 Thread Peter Bengtsson
In the folder where dosomething_pym (Python Method) is located, is also a string property set called 'en' with the value 'English' The Python Method object is called with no parameters, but is defined with the 'self' parameter inside the Python Method object. In a DTML Method this works fine: