Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Sep 24, 2024
1 parent 464cdd4 commit c3af429
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fake_bpy_module/analyzer/directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,11 +454,11 @@ def _parse_arg_option(self, arg_list_node: ArgumentListNode,
arg_name: str, option_type: str,
option_body: nodes.field_body) -> None:
arg_node: ArgumentNode = None
if option_body == "update-argument-type":
print(f"{arg_name}: {arg_list_node.children}")
if option_body.astext() == "update-argument-type":
print(f"YYYYY {arg_name}: {arg_list_node.children}")
for child in arg_list_node.children:
n = next(child.findall(NameNode))
if option_body == "update-argument-type":
if option_body.astext() == "update-argument-type":
print(f"XXXXXXXXXXXX {arg_name} -> {n.astext()}")
if n.astext() == arg_name:
arg_node = n.parent
Expand Down

0 comments on commit c3af429

Please sign in to comment.