drover: Fix --milestone to take the highest-valued branch.

The previous code erroneously took the lowest-valued branch.
Review URL: http://codereview.chromium.org/8888028

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@113681 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
jhawkins@chromium.org 14 years ago
parent 740a6c0bd5
commit 758417e3eb

@ -404,7 +404,7 @@ def getBranchForMilestone(milestone):
# The following returns a sorted list of the keys of |branch_dict|.
sorted_branches = sorted(branch_dict)
branch = sorted_branches[0]
branch = sorted_branches[len(sorted_branches) - 1]
# If all keys match, the branch is the same for all platforms given
# |milestone|. This is the safe case, so return the branch.

Loading…
Cancel
Save