[Grok-dev] Pickling an object stored in the Zodb. How do I skip the __parent__ attribute?
Jegenye 2001 Bt (Miklós Prisznyák)
jegenye2001 at gmail.com
Fri Aug 15 13:48:50 EDT 2008
2008/8/15 Sebastian Ware <sebastian at urbantalk.se>
> Might have jumped the gun here. Looks like the containers in these
> objects aren't exported, or at least they aren't imported again.
> Further investigation ahead...
>
Your object traversing (for obj in self.context['default']. values()) is
"shallow", you need a recursive way to walk over the object tree.
--
Best regards,
Miklós
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20080815/a88af05f/attachment.html
More information about the Grok-dev
mailing list