]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1831] Fix a deprecation warning in xfrin.py
authorPaul Selkirk <pselkirk@isc.org>
Tue, 19 Mar 2013 23:16:56 +0000 (19:16 -0400)
committerPaul Selkirk <pselkirk@isc.org>
Tue, 19 Mar 2013 23:16:56 +0000 (19:16 -0400)
Also add my name to AUTHORS.

AUTHORS
src/bin/xfrin/xfrin.py.in

diff --git a/AUTHORS b/AUTHORS
index 67cb090193b429b31371892537567a79be1d7023..b915e2501f8c7b5b320d2fa027b5d1e1b7d79009 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -14,6 +14,7 @@ Michael Graff
 Michal Vaner
 Mukund Sivaraman
 Naoki Kambe
+Paul Selkirk
 Shane Kerr
 Shen Tingting
 Stephen Morris
index 6a718ba1312fb26713870ccd02095fd6c2af1300..0a677182b8a9bac39fbfa71f6bf5e4041322382c 100755 (executable)
@@ -622,7 +622,7 @@ class XfrinConnection(asyncore.dispatcher):
         it if the constructor raises an exception after opening the socket.
         '''
         self.create_socket(self._master_addrinfo[0], self._master_addrinfo[1])
-        self.setblocking(1)
+        self.socket.setblocking(1)
 
     def _get_zone_soa(self):
         '''Retrieve the current SOA RR of the zone to be transferred.