Skip to content

Commit

Permalink
iperf readability
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-usielski committed Oct 29, 2024
1 parent a40c5f0 commit 7e1eba3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion moler/cmd/unix/iperf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def _command_failure(self, line):
if self._regex_helper.search_compiled(Iperf._re_command_failure, line):
self.set_exception(
CommandFailure(
self, f"ERROR: {self._regex_helper.group('FAILURE_MSG')}"
self, f"ERROR: found in command output: \"{self._regex_helper.group('FAILURE_MSG')}\""
)
)
raise ParsingDone
Expand Down
2 changes: 1 addition & 1 deletion moler/cmd/unix/iperf2.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def _command_failure(self, line):
if self._regex_helper.search_compiled(Iperf2._re_command_failure, line):
self.set_exception(
CommandFailure(
self, f"ERROR: {self._regex_helper.group('FAILURE_MSG')}"
self, f"ERROR: found in command output: \"{self._regex_helper.group('FAILURE_MSG')}\""
)
)
raise ParsingDone
Expand Down

0 comments on commit 7e1eba3

Please sign in to comment.