Merge lp://staging/~soren/nova/lp733609 into lp://staging/~hudson-openstack/nova/trunk

Proposed by Soren Hansen
Status: Merged
Approved by: Rick Harris
Approved revision: 797
Merged at revision: 822
Proposed branch: lp://staging/~soren/nova/lp733609
Merge into: lp://staging/~hudson-openstack/nova/trunk
Diff against target: 143 lines (+93/-10)
2 files modified
nova/tests/test_utils.py (+78/-0)
nova/utils.py (+15/-10)
To merge this branch: bzr merge lp://staging/~soren/nova/lp733609
Reviewer Review Type Date Requested Status
Rick Harris (community) Approve
Paul Voccio (community) Approve
Review via email: mp+53321@code.staging.launchpad.net

Commit message

Make utils.execute not overwrite std{in,out,err} args to Popen on retries.
Make utils.execute reject unknown kwargs.

Add a couple of unit tests for utils.execute.

To post a comment you must log in.
Revision history for this message
Paul Voccio (pvo) wrote :

lgtm

review: Approve
Revision history for this message
Rick Harris (rconradharris) wrote :

Patch looks really good.

Received a few pep8 nits from the test-suite: http://paste.openstack.org/show/921/

review: Needs Fixing
Revision history for this message
Soren Hansen (soren) wrote :

> Patch looks really good.
>
> Received a few pep8 nits from the test-suite:
> http://paste.openstack.org/show/921/

*sigh* Fixed. I keep forgetting to run pep8 manually (because I have that test case that fails due to non-ascii stuff in the help text, so run_tests.sh skips pep8). I've given myself a good shouting at. Apologies. :(

lp://staging/~soren/nova/lp733609 updated
797. By Soren Hansen

pep8

Revision history for this message
Rick Harris (rconradharris) wrote :

lgtm, thanks for the fixes.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.