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

Issue 6343001: Added 'env' and 'ignore_sigint' to RunCommand. (Closed)

Created:
9 years, 11 months ago by diandersAtChromium
Modified:
9 years, 6 months ago
Reviewers:
davidjames, scottz
CC:
sosa, chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Added 'env' and 'ignore_sigint' to RunCommand. This updates the unit tests to test those features, too. Change-Id: Ib77fad54acbb70a990d31140b6b2f941e861ca36 BUG=chromium-os:10948 TEST=Ran the unit tests; already using these functions in my own code. Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=6781f94

Patch Set 1 #

Total comments: 2

Patch Set 2 : Only one space after a period. #

Patch Set 3 : Undid one space after period to be locally consistent in docstring. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -12 lines) Patch
M lib/cros_build_lib.py View 2 4 chunks +17 lines, -3 lines 0 comments Download
M lib/cros_build_lib_unittest.py View 7 chunks +76 lines, -9 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
diandersAtChromium
PTAL. I can break this into two changes if people would prefer (one for the ...
9 years, 11 months ago (2011-01-14 00:34:11 UTC) #1
davidjames
LGTM w/nit http://codereview.chromium.org/6343001/diff/1/lib/cros_build_lib.py File lib/cros_build_lib.py (right): http://codereview.chromium.org/6343001/diff/1/lib/cros_build_lib.py#newcode53 lib/cros_build_lib.py:53: child. This is the desired behavior if ...
9 years, 11 months ago (2011-01-14 21:51:34 UTC) #2
diandersAtChromium
David: I've uploaded a patch that uses only 1 space after periods, but was a ...
9 years, 11 months ago (2011-01-14 22:31:24 UTC) #3
diandersAtChromium
9 years, 11 months ago (2011-01-15 00:21:15 UTC) #4
Talked to davidjames.  He is fine w/ two spaces, and it's better to be locally
consistent.

On 2011/01/14 22:31:24, diandersAtChromium wrote:
> David: I've uploaded a patch that uses only 1 space after periods, but was a
> little uncertain about it.  See inline comment.
> 
> Thanks!
> 
> -Doug
> 
> http://codereview.chromium.org/6343001/diff/1/lib/cros_build_lib.py
> File lib/cros_build_lib.py (right):
> 
> http://codereview.chromium.org/6343001/diff/1/lib/cros_build_lib.py#newcode53
> lib/cros_build_lib.py:53: child.  This is the desired behavior if we know our
> child will handle
> Examples on google python style guide
> <http://google-styleguide.googlecode.com/svn/trunk/pyguide.html> seem to be
> inconsistent, so I'm curious where the 1 space rule comes from.  
> 
> Also: other examples in this file conform to the two space rule.  Do you want
me
> to change those, too?
> 
> 
> On 2011/01/14 21:51:34, davidjames wrote:
> > Only one space is needed after the period. Same below.

Powered by Google App Engine
This is Rietveld 408576698