[Zope-dev] Re: Renaming a product
Morten W. Petersen
morten@nidelven-it.no
Wed, 18 Jun 2003 19:46:36 +0200
> Somebody correct me please, if I'm wrong, but
>
> 1. tinkering with __class__ is the only way to do this.
> 2. you can not tinker with __class__ of an ExtensionClass, i.e. all
> Persistent objects.
It's not easily doable, no. I settled on converting each instance
(copying properties) from the old product name to the new, and
it worked.
Thanks for your help everybody. :)
Regards,
Morten W. Petersen
--
Technologies: Zope, Linux, Python, HTML, CSS, PHP
Homepage: http://www.nidelven-it.no
Phone number: (+47) 45 44 00 69