mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-30 19:14:43 +00:00
fix typo in DNS/Base.py Windows Registry handling
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@297 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
ed828f6610
commit
f1408f6093
2 changed files with 8 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ def init_dns_resolver_nt():
|
|||
# XXX search for "EnableDhcp", "DhcpNameServer"
|
||||
|
||||
try: # search adapters
|
||||
key = winreg.handle_key(winreg.HKEY_LOCAL_MACHINE,
|
||||
key = winreg.key_handle(winreg.HKEY_LOCAL_MACHINE,
|
||||
r"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DNSRegisteredAdapters")
|
||||
for subkey in key.subkeys():
|
||||
count, counttype = subkey['DNSServerAddressCount']
|
||||
|
|
@ -93,7 +93,7 @@ def init_dns_resolver_nt():
|
|||
pass
|
||||
|
||||
try: # search interfaces
|
||||
key = winreg.handle_key(winreg.HKEY_LOCAL_MACHINE,
|
||||
key = winreg.key_handle(winreg.HKEY_LOCAL_MACHINE,
|
||||
r"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces")
|
||||
for subkey in key.subkeys():
|
||||
for server in winreg.stringdisplay(subkey.get('NameServer', '')):
|
||||
|
|
|
|||
6
debian/changelog
vendored
6
debian/changelog
vendored
|
|
@ -1,3 +1,9 @@
|
|||
linkchecker (1.3.7) unstable; urgency=low
|
||||
|
||||
* fix typo in DNS/Base.py Windows Registry handling
|
||||
|
||||
-- Bastian Kleineidam <calvin@debian.org> Fri, 5 Oct 2001 11:06:54 +0200
|
||||
|
||||
linkchecker (1.3.6) unstable; urgency=low
|
||||
|
||||
* fix typo in Copyright blurb
|
||||
|
|
|
|||
Loading…
Reference in a new issue