Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Issue 8888028: drover: Fix --milestone to take the highest-valued branch. (Closed)

Created:
9 years ago by James Hawkins
Modified:
9 years ago
Reviewers:
laforge, M-A Ruel
CC:
chromium-reviews, Dirk Pranke, M-A Ruel
Visibility:
Public.

Description

drover: Fix --milestone to take the highest-valued branch. The previous code erroneously took the lowest-valued branch. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113681

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M drover.py View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 4 (0 generated)
James Hawkins
9 years ago (2011-12-08 22:10:05 UTC) #1
laforge
On 2011/12/08 22:10:05, James Hawkins wrote: LGTM
9 years ago (2011-12-08 22:15:42 UTC) #2
M-A Ruel
http://codereview.chromium.org/8888028/diff/1/drover.py File drover.py (right): http://codereview.chromium.org/8888028/diff/1/drover.py#newcode407 drover.py:407: branch = sorted_branches[len(sorted_branches) - 1] The pythonic way is ...
9 years ago (2011-12-08 22:41:19 UTC) #3
James Hawkins
9 years ago (2011-12-08 23:40:46 UTC) #4
On 2011/12/08 22:41:19, Marc-Antoine Ruel wrote:
> http://codereview.chromium.org/8888028/diff/1/drover.py
> File drover.py (right):
> 
> http://codereview.chromium.org/8888028/diff/1/drover.py#newcode407
> drover.py:407: branch = sorted_branches[len(sorted_branches) - 1]
> The pythonic way is [-1]

I'll make this change.

Powered by Google App Engine
This is Rietveld 408576698