Skip to content

Commit

Permalink
Add missing call to generic_visit (#142)
Browse files Browse the repository at this point in the history
Matches other call sites.
  • Loading branch information
gaul committed Oct 19, 2020
1 parent 4a6de12 commit f7824ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bugbear.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f7824ac

Please sign in to comment.