Skip to content

Commit

Permalink
Used a better traversal
Browse files Browse the repository at this point in the history
  • Loading branch information
psakievich committed Sep 21, 2024
1 parent e093272 commit bb11a64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/recursive_develop.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ def develop_dependents(input, env, develop_args=[]):
if not concrete_specs:
return
for cspec in concrete_specs:
parents = cspec.dependents()
for p in parents:
develop_dependents(p.format("{name}@{version}"), env, develop_args)
for p in cspec.traverse_edges(direction="parents"):
calling_args=develop_args+[p.spec.format("{name}@{version}")]
develop(*calling_args)
return


Expand Down

0 comments on commit bb11a64

Please sign in to comment.