Commit 7c73b6ef authored by Casey Duncan's avatar Casey Duncan

Add missing return statement

parent c36456d9
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
############################################################################## ##############################################################################
__doc__='''Zope-specific versions of ZTUTils classes __doc__='''Zope-specific versions of ZTUTils classes
$Id: Zope.py,v 1.11 2002/10/07 19:43:15 mj Exp $''' $Id: Zope.py,v 1.12 2003/07/03 21:44:59 caseman Exp $'''
__version__='$Revision: 1.11 $'[11:-2] __version__='$Revision: 1.12 $'[11:-2]
import sys, cgi, urllib, cgi import sys, cgi, urllib, cgi
from Tree import encodeExpansion, decodeExpansion, TreeMaker from Tree import encodeExpansion, decodeExpansion, TreeMaker
...@@ -102,6 +102,7 @@ class TreeSkipMixin: ...@@ -102,6 +102,7 @@ class TreeSkipMixin:
def filterChildren(self, children): def filterChildren(self, children):
if self._values_filter: if self._values_filter:
return self._values_filter(LazyFilter(children, skip=self.skip)) return self._values_filter(LazyFilter(children, skip=self.skip))
return children
class TreeMaker(TreeSkipMixin, TreeMaker): class TreeMaker(TreeSkipMixin, TreeMaker):
_getChildren = TreeMaker.getChildren _getChildren = TreeMaker.getChildren
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment