From ce0a44d8c0ec6f1861cdd550b35a79f8630bf3ff Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 21 Mar 2001 21:47:04 +0000 Subject: [PATCH] Merged Jim's change to __init__ to change self to self.__of__(container) into trunk. --- ZCatalog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ZCatalog.py b/ZCatalog.py index dac56615..e20a35bb 100644 --- a/ZCatalog.py +++ b/ZCatalog.py @@ -224,6 +224,8 @@ class is that it is not Zope specific. You can use it in any _v_transaction = None def __init__(self, id, title='', vocab_id=None, container=None): + self=self.__of__(container) + self.id=id self.title=title