Merge "Log cms_verify issues as warnings (not errors)."

This commit is contained in:
Jenkins
2013-07-09 07:58:28 +00:00
committed by Gerrit Code Review

View File

@@ -41,7 +41,7 @@ def cms_verify(formatted, signing_cert_file_name, ca_file_name):
output, err = process.communicate(formatted) output, err = process.communicate(formatted)
retcode = process.poll() retcode = process.poll()
if retcode: if retcode:
LOG.error('Verify error: %s' % err) LOG.warning('Verify error: %s' % err)
# NOTE(dmllr): Python 2.6 compatibility: # NOTE(dmllr): Python 2.6 compatibility:
# CalledProcessError did not have output keyword argument # CalledProcessError did not have output keyword argument
e = subprocess.CalledProcessError(retcode, "openssl") e = subprocess.CalledProcessError(retcode, "openssl")