jonhadfield / python-hosts

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

cannot import name 'Hosts' #23

Closed deadstar2011 closed 4 years ago

deadstar2011 commented 4 years ago

Hi, at 0.4.6 version had error with command: from python_hosts import Hosts, HostsEntry

Error:"cannot import name Hosts"

At version 0.4.5 anythink work perfect

jonhadfield commented 4 years ago

Hi, sorry, due to a change/regression I need to explore further, for this release, you'll need: from python_hosts.hosts import Hosts, HostsEntry Sorry, I'll put out a 0.4.7 release later today.

deadstar2011 commented 4 years ago

thanks, friend

jonhadfield commented 4 years ago

Fixed in 0.4.7