Skip to content

Commit

Permalink
Merge pull request #1 from andrew000/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
developedpage authored Nov 22, 2024
2 parents 5ac22f5 + a891c10 commit 4cc4b0a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/ftl_extract/matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,7 @@ def visit_Call(self, node: ast.Call) -> None: # noqa: N802
self.generic_visit(node)

elif isinstance(node.func, ast.Name) and node.func.id in self.func_names:
print(node.args)
print(node.args[0].keywords)
print(node.args[0].func)
print(node.args[0].args)
print(node.args[0].func.id)
if not node.args:
if not node.args or not isinstance(node.args[0], ast.Constant):
return

fluent_key = create_fluent_key(
Expand Down

0 comments on commit 4cc4b0a

Please sign in to comment.