Skip to content

Commit

Permalink
Drop code for nicer diffs later
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Apr 23, 2020
1 parent 3fe1eab commit f927f9a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/pip/_internal/resolution/resolvelib/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,6 @@ def get_installation_order(self, req_set):
"dependency."
)

sorted_items = sorted(
req_set.requirements.items(),
key=functools.partial(_req_set_item_sorter, weights=weights),
reverse=True,
)
return [ireq for _, ireq in sorted_items]


def _req_set_item_sorter(
item, # type: Tuple[str, InstallRequirement]
Expand Down

0 comments on commit f927f9a

Please sign in to comment.