File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -285,22 +285,12 @@ def _create_sect_config_fromdir(
285285 )
286286 if component_config is not None :
287287 components .append (component_config )
288- else :
289- file_in_subsection_dir = (
290- subsection_dir # ! maybe take more generic names?
291- )
292- component_config = self ._create_component_config_fromfile (
293- file_in_subsection_dir
294- )
295- if component_config is not None :
296- components .append (component_config )
297288
298289 section_config = {
299290 "title" : self ._create_title_fromdir (section_dir_path .name ),
300291 "description" : self ._read_description_file (section_dir_path ),
301292 "subsections" : subsections ,
302293 "components" : components ,
303- "components" : components ,
304294 }
305295 return section_config
306296
You can’t perform that action at this time.
0 commit comments