[Zope3-checkins] CVS: ZopeProducts/RotterdamSprint - XmlObjectView.py:1.6

Joachim Werner joe@iuveno-net.de
Thu, 5 Dec 2002 16:12:09 -0500


Update of /cvs-repository/ZopeProducts/RotterdamSprint
In directory cvs.zope.org:/tmp/cvs-serv31632

Modified Files:
	XmlObjectView.py 
Log Message:
Fixing problem caused by skins duplicating root object

=== ZopeProducts/RotterdamSprint/XmlObjectView.py 1.5 => 1.6 ===
--- ZopeProducts/RotterdamSprint/XmlObjectView.py:1.5	Thu Dec  5 11:44:30 2002
+++ ZopeProducts/RotterdamSprint/XmlObjectView.py	Thu Dec  5 16:12:08 2002
@@ -31,6 +31,8 @@
         result = ''
         oldItem = self.context
         for item in getParents(self.context):
+	    if item == oldItem:
+	        continue
             subItems = []
             for name in item.keys():
                 subItem = item[name]