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

Issue 11369238: Only show landmines output if the environment says so. (Closed)

Created:
8 years, 1 month ago by iannucci
Modified:
8 years, 1 month ago
Reviewers:
M-A Ruel
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Only show landmines output if the environment says so. R=maruel@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167834

Patch Set 1 #

Patch Set 2 : Change the env var to be better #

Total comments: 1

Patch Set 3 : Also use optparse #

Patch Set 4 : Describe env var in help string too #

Total comments: 3

Patch Set 5 : A minor refactor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -32 lines) Patch
M build/landmines.py View 1 2 3 4 3 chunks +49 lines, -32 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
iannucci
This makes landmines.py quiet on the dev's machine.
8 years, 1 month ago (2012-11-14 09:06:42 UTC) #1
M-A Ruel
https://chromiumcodereview.appspot.com/11369238/diff/3001/build/landmines.py File build/landmines.py (right): https://chromiumcodereview.appspot.com/11369238/diff/3001/build/landmines.py#newcode39 build/landmines.py:39: if 'LANDMINES_VERBOSE' in os.environ: I prefer when you use ...
8 years, 1 month ago (2012-11-14 13:03:36 UTC) #2
iannucci
Ok, added optparse to catch -v/--verbose as well.
8 years, 1 month ago (2012-11-14 22:42:14 UTC) #3
M-A Ruel
lgtm with optional style nits. By habit, I would have used logging.basicConfig(level=logging.DEBUG if options.verbose else ...
8 years, 1 month ago (2012-11-14 23:12:01 UTC) #4
iannucci
On 2012/11/14 23:12:01, Marc-Antoine Ruel wrote: > lgtm with optional style nits. > > By ...
8 years, 1 month ago (2012-11-14 23:30:11 UTC) #5
M-A Ruel
yes, I prefer a lot. lgtm
8 years, 1 month ago (2012-11-14 23:34:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/11369238/4003
8 years, 1 month ago (2012-11-14 23:35:41 UTC) #7
commit-bot: I haz the power
8 years, 1 month ago (2012-11-15 02:53:08 UTC) #8
Change committed as 167834

Powered by Google App Engine
This is Rietveld 408576698