Re: [Zope3-Users] Re: updating a zodb with a SchemaManager
El jue, 06-03-2008 a las 09:11 +0100, Jürgen Kartnaller escribió: Has anyone ever reached a similar situation? Any solution? You can do this on your instance : del obj.__dict__['attr1'] Oh, so stupidly simple and it did the job perfectly :-) Thanks Jürgen! Lorenzo ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: updating a zodb with a SchemaManager
On Thu, Mar 6, 2008 at 3:11 AM, Jürgen Kartnaller [EMAIL PROTECTED] wrote: You can do this on your instance : del obj.__dict__['attr1'] Of course, if that's *all* you do to it, you'll need to set the changed flag yourself: obj._p_changed = True -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Chaos is the score upon which reality is written. --Henry Miller ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users