Merge "utils: be Python 2 compatible when squashing is enabled"

This commit is contained in:
Zuul 2018-11-11 02:44:19 +00:00 committed by Gerrit Code Review
commit f16e410542
1 changed files with 1 additions and 1 deletions

View File

@ -69,5 +69,5 @@ def squash(old_image, new_image,
subprocess.check_output(cmds, stderr=subprocess.STDOUT) # nosec
except subprocess.CalledProcessError as ex:
LOG.exception('Get error during squashing image: %s',
ex.stdout)
ex.output)
raise