[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - xmlobject.py:1.6
Steve Alexander
steve@cat-box.net
Thu, 2 Jan 2003 10:34:12 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv1290/src/zope/app/browser/skins/rotterdam
Modified Files:
xmlobject.py
Log Message:
remove extraneous variable assignment. use traverse() rather than using
a ContextWrapper.
=== Zope3/src/zope/app/browser/skins/rotterdam/xmlobject.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/xmlobject.py:1.5 Thu Jan 2 10:03:20 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/xmlobject.py Thu Jan 2 10:34:09 2003
@@ -130,13 +130,11 @@
__used_for__ = Interface
-
def singleBranchTree(self, root=''):
parent = getParent(self.context)
while parent is not None:
if IReadContainer.isImplementedBy(parent):
- container = parent
- view = queryView(container,
+ view = queryView(parent,
'singleBranchTree.xml',
self.request)
return view()