Skip to content

Commit 1683f3a

Browse files
committed
Minor doc change
1 parent 8b2bc8c commit 1683f3a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

server_update.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,15 +657,16 @@ def get_buildnums(self, version: str) -> list[int]:
657657
# New in V3
658658
##
659659

660-
# The build numbers are now reversed, going from newest to oldest.
660+
# The build numbers seem change their ordering sometimes?
661661
# This script expects the build numbers to be from oldest to newest,
662-
# So we will reverse this list
662+
# So we will sort the list
663663

664664
# Get the list from the API
665665

666666
builds: list[int] = self.get(version)['builds']
667667

668-
# We reverse the list to remove any ordering issues
668+
# We sort the build numbers in ascending order to remove any issues,
669+
# internally we assume older builds go first and ascend.
669670

670671
builds.sort()
671672

0 commit comments

Comments
 (0)