Package uninstallable on Windows
Bug #1442424 reported by
Jeremy Skippen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
py3dns |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Rev 96 "Add OSX Support" broke Windows support.
In DNS/Base.py:
if sys.platform in ('win32', 'nt'):
from . import win32dns
+ if sys.platform == 'darwin':
+ ParseOSXSysConfig()
else:
return ParseResolvConf()
The if statement "if sys.platform == 'darwin'" should be "elif sys.platform == 'darwin'" otherwise FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' on Windows
Related branches
Changed in py3dns: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in py3dns: | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
I don't know why I didn't see this when you filed it. I'll release a fixed version shortly. Sorry for the delay.