aio-libs / aiosmtpd

A reimplementation of the Python stdlib smtpd.py based on asyncio.
https://aiosmtpd.aio-libs.org
Apache License 2.0
319 stars 96 forks source link

Statement has no effect in proxy_protocol.py #350

Closed pepoluan closed 1 year ago

pepoluan commented 1 year ago

Frikken CodeQL does not realize it was a Protocol definition.

But let's just tidy them up, I think it got confused because the Protocol definition has a return statement there (which was added becase *I* was a bit confused about Protocol at that time 😅)

Tracking issue for: