niccokunzmann / python_dhcp_server

a dhcp server in python
MIT License
89 stars 32 forks source link

propose another way for DelayWorker close issue #10

Closed greggzj closed 5 years ago

greggzj commented 5 years ago

This is another proposal regarding to issue #7 Compate to latest code: This pull request 1) using EAFP! style 2) adding timeout=1 rather than directly continue the while loop without any delaying or sleep

niccokunzmann commented 5 years ago

Clear and precise for me. Thanks!