Use generators for Node.getChildNodes()

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1014 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2006-01-17 14:54:49 +00:00
parent 324a992a98
commit ae50a54714
2 changed files with 1 additions and 1 deletions

View file

@ -28,7 +28,6 @@
tal:content="structure body">
The body
</div>
<div tal:content="item/context/title" />
</tal:body>
<tal:sub define="level python:level+1">
<tal:items repeat="item item/textItems">

View file

@ -129,6 +129,7 @@ class Node(View, OrderedContainer):
def moveSubNodesByDelta(self, names, delta):
self.updateOrder(moveByDelta(self.keys(), names, delta))
class ViewManager(OrderedContainer):
implements(IViewManager, ILoopsContained)