Skip to content

Commit

Permalink
Use CalledProcessError.output instead of CalledProcessError.stdout (#…
Browse files Browse the repository at this point in the history
…2727)

Co-authored-by: narrieta <narrieta>
  • Loading branch information
narrieta committed Jan 11, 2023
1 parent 4fe4985 commit 1778742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makepkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def do(*args):
try:
return subprocess.check_output(args, stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e: # pylint: disable=C0103
raise Exception("[{0}] failed:\n{1}\n{2}".format(" ".join(args), str(e), e.stdout))
raise Exception("[{0}] failed:\n{1}\n{2}".format(" ".join(args), str(e), e.output))


def run(agent_family, output_directory, log):
Expand Down

0 comments on commit 1778742

Please sign in to comment.