We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b2bc8c commit 1683f3aCopy full SHA for 1683f3a
server_update.py
@@ -657,15 +657,16 @@ def get_buildnums(self, version: str) -> list[int]:
657
# New in V3
658
##
659
660
- # The build numbers are now reversed, going from newest to oldest.
+ # The build numbers seem change their ordering sometimes?
661
# This script expects the build numbers to be from oldest to newest,
662
- # So we will reverse this list
+ # So we will sort the list
663
664
# Get the list from the API
665
666
builds: list[int] = self.get(version)['builds']
667
668
- # We reverse the list to remove any ordering issues
+ # We sort the build numbers in ascending order to remove any issues,
669
+ # internally we assume older builds go first and ascend.
670
671
builds.sort()
672
0 commit comments