Skip to content

Commit e5d41c2

Browse files
committed
lint code
1 parent db58ecf commit e5d41c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/a2a/server/events/event_queue.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,10 @@ async def clear_events(self, clear_child_queues: bool = True) -> None:
192192
)
193193
self.queue.task_done()
194194
cleared_count += 1
195-
except (asyncio.QueueEmpty, getattr(asyncio, 'QueueShutDown', asyncio.QueueEmpty)):
195+
except (
196+
asyncio.QueueEmpty,
197+
getattr(asyncio, 'QueueShutDown', asyncio.QueueEmpty),
198+
):
196199
pass
197200

198201
if cleared_count > 0:

0 commit comments

Comments
 (0)