Skip to content

Commit 5ece50c

Browse files
committed
fix: missing mkdir command raised by @germa89
1 parent 28787e8 commit 5ece50c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/pyconverter/xml2py/ast_tree.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2510,13 +2510,12 @@ def arg_desc(self) -> List[Argument]:
25102510
if refsyn is None:
25112511
refsections = self.find_all("RefSection")
25122512
for elem in refsections:
2513-
if elem.id is not None and "argdescript" in elem.id:
2514-
for child in elem:
2515-
if isinstance(child, Variablelist):
2516-
if arguments is None:
2517-
arguments = ArgumentList(self.py_name, self.url, child, self.args)
2518-
else:
2519-
arguments += ArgumentList(self.py_name, self.url, child, self.args)
2513+
for child in elem:
2514+
if isinstance(child, Variablelist):
2515+
if arguments is None:
2516+
arguments = ArgumentList(self.py_name, self.url, child, self.args)
2517+
else:
2518+
arguments += ArgumentList(self.py_name, self.url, child, self.args)
25202519

25212520
else:
25222521
for elem in refsyn:

0 commit comments

Comments
 (0)