[Zope-CMF] Is there a way to change the meta-type of a number of object types
Tres Seaver
tseaver@palladion.com
Tue, 31 Jul 2001 22:20:58 -0400
Norman Khine wrote:
> Hello Tres,
> Sorry to bother you with trivia stuff, but I am having difficulties in
> running the external method and get the following error:
>
> Error Type: NameError
> Error Value: name 'self' is not defined
I'm guessing from the error message that, in the file which
defines your Python script, you need to add 'self' as an argument,
e.g.:
def change_type( self ):
...
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com