generated from jCloud/repository-template
fix(cli): copy VALID_SECTIONS when parsing sections list
This commit is contained in:
1 file changed
+1
-1
@@ -41,7 +41,7 @@ def parse_sections_list(include_sections: Optional[list[str]] = None, exclude_se
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
if include_sections is None:
|
if include_sections is None:
|
||||||
include_sections = VALID_SECTIONS
|
include_sections = VALID_SECTIONS[:]
|
||||||
|
|
||||||
for section in exclude_sections:
|
for section in exclude_sections:
|
||||||
while section in include_sections:
|
while section in include_sections:
|
||||||
|
|||||||
Reference in new issue
Block a user