jonhadfield / python-hosts

a hosts file manager library written in python
MIT License
125 stars 33 forks source link

remove last remnants of win_inet_pton #43

Closed sebalis closed 2 years ago

sebalis commented 2 years ago

I gather from PR #19 that win_inet_pton was removed. However, there still is an import statement for it in python_hosts/utils.py. Removing that line got me over Python complaining about the missing module and made it possible to use the code in Linux. There are further references to it in requirements.txt, setup.py and (2 lines) tox.ini. These didn’t stop me as I didn’t install for now but they will probably be a problem in other scenarios. This PR removes them all.