[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam -
xmlobject.py:1.10
Garrett Smith
garrett at mojave-corp.com
Thu Aug 7 12:56:01 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv10110/src/zope/app/browser/skins/rotterdam
Modified Files:
xmlobject.py
Log Message:
Added a check to Rotterdam's xmlobject tree to ensure that non-container parents are not traversed as the tree is built.
=== Zope3/src/zope/app/browser/skins/rotterdam/xmlobject.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/xmlobject.py:1.9 Mon Jun 23 13:17:01 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/xmlobject.py Thu Aug 7 11:55:53 2003
@@ -86,7 +86,10 @@
if item == oldItem:
continue
subItems = []
- keys = list(item.keys())
+ if IReadContainer.isImplementedBy(item):
+ keys = list(item.keys())
+ else:
+ keys = []
# include the service manager
keys.append('++etc++site')
More information about the Zope3-Checkins
mailing list