File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -528,7 +528,4 @@ async def publish_batch(
528
528
@override
529
529
async def ping (self , timeout : Optional [float ]) -> bool :
530
530
with move_on_after (timeout ) as cancel_scope :
531
- return not (
532
- cancel_scope .cancel_called or self ._producer is None
533
- )
534
-
531
+ return not (cancel_scope .cancel_called or self ._producer is None )
Original file line number Diff line number Diff line change @@ -812,7 +812,7 @@ async def publish_batch(
812
812
async def ping (self , timeout : Optional [float ]) -> bool :
813
813
with move_on_after (timeout ) as cancel_scope :
814
814
return not (
815
- cancel_scope .cancel_called or
816
- self ._producer is None or
817
- self ._producer ._producer ._closed
815
+ cancel_scope .cancel_called
816
+ or self ._producer is None
817
+ or self ._producer ._producer ._closed
818
818
)
You can’t perform that action at this time.
0 commit comments