Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Sep 4, 2024
1 parent ee323b9 commit 5a48660
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion awscliv2/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ def execute(self, args: Sequence[str]) -> str:
return_code = self.run_awscli_v2(args)
if return_code:
self.output.seek(0)
raise AWSCLIError(f"Command {shlex.join(args)} failed with code {return_code}: {self.output.read()}")
raise AWSCLIError(
f"Command {shlex.join(args)} failed with code {return_code}: {self.output.read()}"
)
self.output.seek(0)
result = self.output.read()
self.output = old_output
Expand Down

0 comments on commit 5a48660

Please sign in to comment.