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.