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

setDaemon() is deprecated, set the daemon attrib directly instead #357

Closed pepoluan closed 1 year ago

pepoluan commented 1 year ago

What do these changes do?

Replace call to .setDaemon() to direct setting of .daemon attribute, as described in the documentation.

Are there changes in behavior for the user?

None.

Related issue number

None.

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #357 (1b30946) into master (d56f7e9) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #357   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines         1696      1696           
  Branches       310       310           
=========================================
  Hits          1696      1696           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more