I see...
That explains the issue, after implementing the __cmp__ method everything is
now working perfectly.

Thank you again for your help guys, I had been stuck in this for 3 days

2010/9/24 Jim Fulton <j...@zope.com>

> It does.  That's the problem. It would be better if it didn't and
> insertion failed.  The methods it provides are inherited from object
> and compare based on object address, which completely inappropriate
> for persistent objects.
> Jim
> --
> Jim Fulton
For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to