[Zope-Checkins] CVS: Zope2 - ZCatalog.py:1.74.2.10
Jim Fulton
jim@digicool.com
Wed, 21 Mar 2001 16:41:51 -0500 (EST)
Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog
In directory korak:/tmp/cvs-serv6353
Modified Files:
Tag: zope-2_3-branch
ZCatalog.py
Log Message:
We have to initialize ourselves in content so we can acquire a
vocabulary, if we need to.
--- Updated File ZCatalog.py in package Zope2 --
--- ZCatalog.py 2001/03/15 13:10:29 1.74.2.9
+++ ZCatalog.py 2001/03/21 21:41:50 1.74.2.10
@@ -224,6 +224,8 @@
_v_transaction = None
def __init__(self, id, title='', vocab_id=None, container=None):
+ self=self.__of__(container)
+
self.id=id
self.title=title