Skip to content

Commit 1ed1262

Browse files
committed
Revert "Allow actions to be used as passthrough predicates (for typing convenience)."
This reverts commit 3e385fa.
1 parent 3e385fa commit 1ed1262

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/hunter.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@ def __call__(self, event):
419419
Runs a ``pdb.set_trace`` at the matching frame.
420420
"""
421421
self.klass(**self.kwargs).set_trace(event.frame)
422-
return True
423422

424423

425424
class ColorStreamAction(Action):
@@ -500,7 +499,6 @@ def __call__(self, event, sep=os.path.sep, join=os.path.join):
500499
color=self.event_colors[event.kind],
501500
**self.event_colors
502501
))
503-
return True
504502

505503

506504
class VarsPrinter(Fields.names.globals.stream.filename_alignment, ColorStreamAction):
@@ -570,4 +568,3 @@ def __call__(self, event):
570568
**self.event_colors
571569
))
572570
first = False
573-
return True

0 commit comments

Comments
 (0)