[Zope-Checkins] CVS: Zope/lib/python/AccessControl -
Owned.py:1.19.46.4
Tres Seaver
tseaver at zope.com
Fri Mar 12 11:59:01 EST 2004
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv11528/lib/python/AccessControl
Modified Files:
Tag: Zope-2_7-branch
Owned.py
Log Message:
- Collector #1255: getWrappedOwner() must return None if the object
is owned by the UnownableOwner.
=== Zope/lib/python/AccessControl/Owned.py 1.19.46.3 => 1.19.46.4 ===
--- Zope/lib/python/AccessControl/Owned.py:1.19.46.3 Thu Jan 29 14:32:56 2004
+++ Zope/lib/python/AccessControl/Owned.py Fri Mar 12 11:58:29 2004
@@ -117,7 +117,7 @@
"""
owner = self.getOwnerTuple()
- if owner is None:
+ if owner is None or owner is UnownableOwner:
return None
udb_path, oid = owner
More information about the Zope-Checkins
mailing list