Skip to content

Commit 86046c6

Browse files
committed
Fix docstrings
1 parent 9e2573b commit 86046c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

maltoolbox/patternfinder/attackgraph_patterns.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,11 @@ def find_matches_recursively(
7575
Args:
7676
node - node to check if current `condition` matches for
7777
condition_list - first condition in list will attempt match `node`
78-
matching_nodes - list of matched nodes so far (recursively built)
78+
current_path - list of matched nodes so far (recursively built)
79+
matching_paths - set of matched paths so far (recursively built)
7980
condition_match_count - number of matches on current condition so far
8081
81-
Return: list of lists (paths) of AttackGraphNodes that match the condition
82+
Return: set of tuples (paths) of AttackGraphNodes that match the condition
8283
"""
8384

8485
# Init path lists if None, or copy/init into new lists for each iteration

0 commit comments

Comments
 (0)