Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
gaaah some commands don't exit with an exitcode != 0 but still produc…
Browse files Browse the repository at this point in the history
…e error messages (and fail)
  • Loading branch information
agroszer committed Apr 12, 2013
1 parent 58a68c0 commit a60d3fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/zope/wineggbuilder/base.py
Expand Up @@ -64,6 +64,10 @@ def do(self, cmd):
else:
raise CommandError(p.returncode)
LOGGER.debug('Output: \n%s' % stdout)
if stderr:
# gaaah some commands don't exit with an exitcode != 0
# but still produce error messages (and fail)
stdout = stdout + '\n' + stderr
return stdout


Expand Down

0 comments on commit a60d3fa

Please sign in to comment.