[Zope3-checkins] CVS: Zope3/src/zope/app - location.py:1.1.2.5

Jim Fulton jim at zope.com
Tue Sep 9 18:45:38 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv12108/src/zope/app

Modified Files:
      Tag: parentgeddon-branch
	location.py 
Log Message:
got more tests to pass on branch

=== Zope3/src/zope/app/location.py 1.1.2.4 => 1.1.2.5 ===
--- Zope3/src/zope/app/location.py:1.1.2.4	Tue Sep  9 16:06:04 2003
+++ Zope3/src/zope/app/location.py	Tue Sep  9 17:45:07 2003
@@ -37,7 +37,7 @@
 def LocationIterator(object):
     while object is not None:
         yield object
-        object = object.__parent__
+        object = getattr(object, '__parent__', None)
 
 class LocationPhysicallyLocatable:
     """Provide location information for location objects




More information about the Zope3-Checkins mailing list