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:
parent
324a992a98
commit
ae50a54714
2 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||
|
|
1
view.py
1
view.py
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue