Skip to content

Commit

Permalink
Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius committed Nov 7, 2024
1 parent 5b7f839 commit a37de78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pipenv/routines/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ def get_reverse_dependencies(project) -> Dict[str, Set[Tuple[str, str]]]:
# Get installed packages for the specified interpreter
pkgs = get_installed_distributions(interpreter=python_interpreter)

# Create a package dependency tree (DAG) and reverse it
dep_tree = PackageDAG.from_pkgs(pkgs).reverse()
# Create a package dependency tree (DAG)
dep_tree = PackageDAG.from_pkgs(pkgs)
dep_tree.reverse()

# Initialize reverse dependency map
reverse_deps = defaultdict(set)
Expand Down

0 comments on commit a37de78

Please sign in to comment.