[Zope-Checkins] CVS: Zope/lib/python/webdav - common.py:1.13

Andreas Jung andreas@zope.com
Thu, 29 Nov 2001 10:38:43 -0500


Update of /cvs-repository/Zope/lib/python/webdav
In directory cvs.zope.org:/tmp/cvs-serv20056/lib/python/webdav

Modified Files:
	common.py 
Log Message:
removed is_acquired (defined in App.Common)


=== Zope/lib/python/webdav/common.py 1.12 => 1.13 ===
     return url
 
-def is_acquired(ob):
-    # Return true if this object is not a direct
-    # subobject of its aq_parent object.
-    if not hasattr(ob, 'aq_parent'):
-        return 0
-    if hasattr(aq_base(ob.aq_parent), absattr(ob.id)):
-        return 0
-    if hasattr(aq_base(ob), 'isTopLevelPrincipiaApplicationObject') and \
-            ob.isTopLevelPrincipiaApplicationObject:
-        return 0
-    return 1
 
 def urlbase(url, ftype=urllib.splittype, fhost=urllib.splithost):
     # Return a '/' based url such as '/foo/bar', removing