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

Issue 209393006: Add warning batching in gclient_utils (Closed)

Created:
6 years, 9 months ago by borenet
Modified:
6 years, 9 months ago
Reviewers:
iannucci, M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, M-A Ruel, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Add warning batching in gclient_utils BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=258982

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use try/finally instead of atexit #

Total comments: 6

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M gclient.py View 1 2 chunks +3 lines, -1 line 0 comments Download
M gclient_utils.py View 1 2 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
borenet
Is this a sensible way to do this? For context, see discussion on https://codereview.chromium.org/195913002/. In ...
6 years, 9 months ago (2014-03-24 16:09:00 UTC) #1
M-A Ruel
https://codereview.chromium.org/209393006/diff/1/gclient_utils.py File gclient_utils.py (right): https://codereview.chromium.org/209393006/diff/1/gclient_utils.py#newcode50 gclient_utils.py:50: atexit.register(_DisplayWarningsAtExit) I'd prefer something more formal, a try/finally in ...
6 years, 9 months ago (2014-03-24 16:25:30 UTC) #2
borenet
Uploaded patch set 2, which changes to use try/except. It makes sense to me to ...
6 years, 9 months ago (2014-03-24 17:29:48 UTC) #3
M-A Ruel
lgtm https://codereview.chromium.org/209393006/diff/2/gclient_utils.py File gclient_utils.py (right): https://codereview.chromium.org/209393006/diff/2/gclient_utils.py#newcode43 gclient_utils.py:43: """Print any accumulated warnings.""" Prints https://codereview.chromium.org/209393006/diff/2/gclient_utils.py#newcode51 gclient_utils.py:51: """Add ...
6 years, 9 months ago (2014-03-24 17:53:06 UTC) #4
borenet
Uploaded patch set 3. https://codereview.chromium.org/209393006/diff/2/gclient_utils.py File gclient_utils.py (right): https://codereview.chromium.org/209393006/diff/2/gclient_utils.py#newcode43 gclient_utils.py:43: """Print any accumulated warnings.""" On ...
6 years, 9 months ago (2014-03-24 18:01:48 UTC) #5
borenet
The CQ bit was checked by borenet@google.com
6 years, 9 months ago (2014-03-24 18:33:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/borenet@google.com/209393006/30001
6 years, 9 months ago (2014-03-24 18:33:28 UTC) #7
commit-bot: I haz the power
6 years, 9 months ago (2014-03-24 18:35:24 UTC) #8
Message was sent while issue was closed.
Change committed as 258982

Powered by Google App Engine
This is Rietveld 408576698