From cc9f6761568b36b7cbd54ee22edf254878f320bc Mon Sep 17 00:00:00 2001 From: pyoor Date: Tue, 5 Dec 2023 16:01:39 -0500 Subject: [PATCH] fix: continue iterating over branches even if a patch can't be identified --- bugmon/bugmon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bugmon/bugmon.py b/bugmon/bugmon.py index 423cc6d..21e3c08 100644 --- a/bugmon/bugmon.py +++ b/bugmon/bugmon.py @@ -379,10 +379,11 @@ def _verify_fixed(self) -> None: if getattr(self.bug, flag) == "fixed": patch_rev = self.bug.find_patch_rev(alias) if patch_rev is None: + # This may have been fixed in another bug. log.warning( f"Unable to find commit for fx{rel_num}. Cannot verify fix!" ) - return None + continue branch = self._reproduce_bug(config, alias, patch_rev) if isinstance(branch, ReproductionPassed): log.info(f"Verified fixed on {flag}")