Skip to content

Commit 68ef07c

Browse files
committed
deps: fix argument passing problem
1 parent d7ffaf3 commit 68ef07c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

acbs/deps.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,15 @@ def strongly_connected(search_path: str, packages_list: List[str], results: list
7676
assert current_package is not None
7777
# first check if this dependency is buildable
7878
# when `required_by` argument is present, it will raise an exception when the dependency is unbuildable.
79-
check_buildability(current_package, stack[-2] if len(stack) > 1 else '<unknown>')
79+
check_buildability(
80+
current_package, stack[-2] if len(stack) > 1 else '<unknown>')
8081
# search package end
8182
# Look for adjacent packages (dependencies)
8283
for p in current_package.deps:
8384
if index[p] == -1:
8485
# recurse on unvisited packages
8586
strongly_connected(search_path, packages_list, results, packages,
86-
p, lowlink, index, stackstate, stack, depth)
87+
p, lowlink, index, stackstate, stack, stage2, depth)
8788
lowlink[vert] = min(lowlink[p], lowlink[vert])
8889
# adjacent package is in the stack which means it is part of a loop
8990
elif stackstate[p] is True:

0 commit comments

Comments
 (0)