Skip to content

Commit

Permalink
fix: only set status to verified if not new
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoor committed Apr 22, 2022
1 parent 0592fa4 commit b5153ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bugmon/bugmon.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ def _verify_fixed(self) -> None:
self._close_bug = True
else:
self.report(f"Verified bug as fixed on rev {build_str}.")
self.bug.status = "VERIFIED"
if self.bug.status != "NEW":
self.bug.status = "VERIFIED"

elif tip.status == EvaluatorResult.BUILD_CRASHED:
self.report(
Expand Down

0 comments on commit b5153ab

Please sign in to comment.