]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Fix _winreg renamed to winreg in python 3 20/head
authorChristopher Lambacher <chris@kateandchris.net>
Sun, 16 Dec 2012 04:42:38 +0000 (23:42 -0500)
committerChristopher Lambacher <chris@kateandchris.net>
Sun, 16 Dec 2012 04:42:38 +0000 (23:42 -0500)
dns/resolver.py

index d2c7a6a0de387e4a265babe7b83f0b6308060eea..97fda1c4e8ef4f7f3b14af807126778bce934cad 100644 (file)
@@ -35,7 +35,7 @@ import dns.rdatatype
 import dns.reversename
 
 if sys.platform == 'win32':
-    import _winreg
+    import winreg as _winreg
 
 class NXDOMAIN(dns.exception.DNSException):
     """The query name does not exist."""