Skip to content

Commit

Permalink
fix: missing mkdir command raised by @germa89
Browse files Browse the repository at this point in the history
  • Loading branch information
clatapie committed Dec 13, 2024
1 parent 28787e8 commit 5ece50c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/pyconverter/xml2py/ast_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -2510,13 +2510,12 @@ def arg_desc(self) -> List[Argument]:
if refsyn is None:
refsections = self.find_all("RefSection")
for elem in refsections:
if elem.id is not None and "argdescript" in elem.id:
for child in elem:
if isinstance(child, Variablelist):
if arguments is None:
arguments = ArgumentList(self.py_name, self.url, child, self.args)
else:
arguments += ArgumentList(self.py_name, self.url, child, self.args)
for child in elem:
if isinstance(child, Variablelist):
if arguments is None:
arguments = ArgumentList(self.py_name, self.url, child, self.args)
else:
arguments += ArgumentList(self.py_name, self.url, child, self.args)

else:
for elem in refsyn:
Expand Down

0 comments on commit 5ece50c

Please sign in to comment.