durusmail: durus-users: Re: Seeking a Volunteer Speaker for a 5-Min Recorded Talk
Seeking a Volunteer Speaker for a 5-Min Recorded Talk
2007-09-09
Seeking a Volunteer Speaker for a 5-Min Recorded Talk
2007-09-11
2007-09-11
2007-09-11
2007-09-11
2007-09-12
Re: Seeking a Volunteer Speaker for a 5-Min Recorded Talk
2007-09-12
Re: Seeking a Volunteer Speaker for a 5-Min Recorded Talk
2007-09-12
2007-09-11
2007-09-11
2007-09-11
Re: Seeking a Volunteer Speaker for a 5-Min Recorded Talk
2007-09-13
Re: Seeking a Volunteer Speaker for a 5-Min Recorded Talk
2007-09-13
2007-09-13
Re: Seeking a Volunteer Speaker for a 5-Min Recorded Talk
David Binger
2007-09-12
On Sep 12, 2007, at 12:01 PM, Mike Orr wrote:

> I did originally have it as a subclass of Persistent.  Then I had a
> bug in a query and tried to load it in the durus command-line client,
> but I couldn't because it couldn't find the Flintstone class (couldn't
> find '__main__.Flintstone').  So I moved to a seperate module, and
> that's when I made it non-persistent so both classes could share it.
>
>
> BTW, I put in ._p_note_change only because it bit me. After .abort()
> the database was correct but the memory objects weren't rolled back.
>
> When I get to work I'll see about making it Persistent again.

It will work fine if "class Flintstone(Persistent)" is in a module
that your update script can import, which would normally be a
separate file.




reply