--- MPIWGWeb/Attic/MPIWGRoot.py 2008/09/12 15:54:49 1.1.2.20 +++ MPIWGWeb/Attic/MPIWGRoot.py 2008/10/23 10:02:09 1.1.2.21 @@ -600,7 +600,7 @@ class MPIWGRoot(ZSQLExtendFolder): def getContexts(self,childs=None,parents=None,depth=None,date=None,onlyActive=True): """childs alle childs, alle parents""" ret=[] - + if parents: pnums=parents.split(".") while len(pnums) > 1: @@ -630,6 +630,7 @@ class MPIWGRoot(ZSQLExtendFolder): ret.append(project) #logging.debug("getContexts: childs=%s parents=%s depth=%s => %s"%(childs,parents,depth,repr(ret))) + return ret