def _fetchChildren(self):
children = []<EOL>paths = []<EOL>for name in os.listdir(self.path):<EOL><INDENT>paths.append(os.path.normpath(os.path.join(self.path, name)))<EOL><DEDENT>collections, remainder = clique.assemble(<EOL>paths, [clique.PATTERNS['<STR_LIT>']]<EOL>)<EOL>for path in remainder:<EOL><INDENT>try:<EOL><INDENT>child = ItemFactory(path)<EOL><DEDENT>except ValueError:<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>children.append(child)<EOL><DEDENT><DEDENT>for collection in collections:<EOL><INDENT>children.append(Collection(collection))<EOL><DEDENT>return children<EOL>
Fetch and return new child items.