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

Issue 12546003: Fix a crash in the owners check for a change without reviewers. (Closed)

Created:
7 years, 9 months ago by Dirk Pranke
Modified:
7 years, 9 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Fix a crash in the owners check for a change without reviewers. If we uploaded a CL w/o any reviewers specified, and then ran the owners check on it (so that we had a Rietveld issue number) we would crash in a Python assertion. This wasn't caught in unit testing because of a limitation in the unit test scaffolding. TBR=maruel@chromium.org BUG=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=186454

Patch Set 1 #

Patch Set 2 : fix _RietveldOwnerAndReviewers to never return None #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M presubmit_canned_checks.py View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/12546003/2001
7 years, 9 months ago (2013-03-06 17:13:01 UTC) #1
commit-bot: I haz the power
Change committed as 186454
7 years, 9 months ago (2013-03-06 17:15:41 UTC) #2
M-A Ruel
7 years, 9 months ago (2013-03-06 17:16:03 UTC) #3
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698