diff options
| author | Tim Simpson <tim.simpson@rackspace.com> | 2012-10-26 13:36:14 -0500 |
|---|---|---|
| committer | Tim Simpson <tim.simpson@rackspace.com> | 2012-10-26 13:36:14 -0500 |
| commit | 9916ef7b86cca98014355b1b90a7dbe36b51af2d (patch) | |
| tree | 5a16ea8f71eeb70e7b8f56553da16ed463adbaea /doc/source | |
| parent | 3649569b8943cee7bad624800f8527eb950ce1de (diff) | |
Raise exception if openssl stderr indicates one.
The cms module calls openssl and raises a CalledProcessError if the
return code is non zero. However, I've observed issues where the return
code is zero but the std err shows the command failed. This commit
changes the test to also look for the text "Error" in openssl's stderr
and raise CalledProcessError in that event as well.
It also removes the keyword arg "output" to CalledProcessError as it
wasn't being found.
Change-Id: I2b2a9c026557632d0c71dd6f987eaa263f387242
Diffstat (limited to 'doc/source')
0 files changed, 0 insertions, 0 deletions
