[ZODB-Dev] Adopting ZODB

Terry Jones terry at jon.es
Thu Jul 13 16:10:53 EDT 2006


>>>>> "Chris" == Chris S <chrisspen at gmail.com> writes:

Chris> Uh, calling root.get(name, obj) assigns obj to the root if the name
Chris> is not yet defined. And of course I'm not assigning to any other
Chris> Persistent instances, since the point of the code was to show that
Chris> Zope can't persist objects that don't inherit the Persistent class.

Are you sure you don't mean root.setdefault(name, obj) ?

Terry


More information about the ZODB-Dev mailing list