Skip to content

Commit

Permalink
fix: minor reporter formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoor committed Jun 3, 2022
1 parent 19479b5 commit d3a9b2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bugmon/bugmon.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,14 @@ def _bisect(
f"Unable to bisect testcase ({result.message}):",
f"> Start: {result.start.changeset} ({result.start.id})",
f"> End: {result.end.changeset} ({result.end.id})",
f"> BuildFlags: {str(config.build_flags)}",
f"> BuildFlags: {str(config.build_flags)}\n",
]
self.report(*output)
else:
output = [
f"> Start: {result.start.changeset} ({result.start.id})",
f"> End: {result.end.changeset} ({result.end.id})",
f"> Pushlog: {result.pushlog}",
f"> Pushlog: {result.pushlog}\n\n",
]

verb = "fixed" if find_fix else "introduced"
Expand All @@ -138,7 +138,7 @@ def _bisect(
*output,
)

# If bisection succeeds and we're not bisecting a fix, add the regression keyword.
# If bisection succeeds, and we're not bisecting a fix, add the regression keyword.
if not find_fix and "regression" not in self.bug.keywords:
self.bug.keywords.append("regression")

Expand All @@ -165,7 +165,7 @@ def _confirm_open(self) -> None:
if orig.status == EvaluatorResult.BUILD_CRASHED:
self.report(
f"Testcase crashes using the initial build ({orig.build_str}) "
f"but not with tip ({tip.build_str}.)"
f"but not with tip ({tip.build_str}.)\n"
)
result = self._bisect(config)
if result and result.status == BisectionResult.SUCCESS:
Expand Down

0 comments on commit d3a9b2d

Please sign in to comment.