From f7824ac80b8ddc66c01041def00e99ecca4737ae Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Mon, 19 Oct 2020 10:19:24 +0900 Subject: [PATCH] Add missing call to generic_visit (#142) Matches other call sites. --- bugbear.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bugbear.py b/bugbear.py index ead85e3..361fe0f 100644 --- a/bugbear.py +++ b/bugbear.py @@ -311,6 +311,7 @@ def visit_Try(self, node): def visit_Compare(self, node): self.check_for_b015(node) + self.generic_visit(node) def visit_Raise(self, node): self.check_for_b016(node)