Skip to content

Commit

Permalink
Tweak PyPiClient version sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
deathaxe committed Nov 22, 2023
1 parent 8e05178 commit 92e53f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package_control/clients/pypi_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def _download_info_from_latest_version(self, name, asset_templates):

# get latest compatible release for each asset template
output = []
for version in reversed(version_sort(releases)):
for version in version_sort(releases, reverse=True):
# we don"t want beta releases!
if not PEP440Version(version).is_final:
continue
Expand Down

0 comments on commit 92e53f3

Please sign in to comment.