[Zope-Checkins] CVS: Zope/lib/python/OFS - ObjectManager.py:1.153
Shane Hathaway
shane@cvs.zope.org
Wed, 12 Jun 2002 14:17:46 -0400
Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv21077
Modified Files:
ObjectManager.py
Log Message:
Removed the code that sets _p_jar immediately, since _getCopy() is smarter now.
=== Zope/lib/python/OFS/ObjectManager.py 1.152 => 1.153 ===
self._objects=self._objects+({'id':id,'meta_type':t},)
- # Prepare the _p_jar attribute immediately. _getCopy() may need it.
- if hasattr(object, '_p_jar') and object._p_jar is None:
- object._p_jar = self._p_jar
self._setOb(id,object)
object=self._getOb(id)