Skip to content

Commit

Permalink
Update scripts/freshvenvs.py
Browse files Browse the repository at this point in the history
Co-authored-by: Emmett Butler <723615+emmettbutler@users.noreply.github.com>
  • Loading branch information
quinna-h and emmettbutler authored Sep 23, 2024
1 parent 8e820e4 commit c638399
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/freshvenvs.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ def _venv_sets_latest_for_package(venv: riotfile.Venv, suite_name: str) -> bool:

if venv.venvs:
for child_venv in venv.venvs:
includes_latest = _venv_sets_latest_for_package(child_venv, package)
if includes_latest:
if _venv_sets_latest_for_package(child_venv, package):
return True

return False
Expand Down

0 comments on commit c638399

Please sign in to comment.