BIND 10 trac2252, updated. acbf4d8c9e3deb825a7c193a26738b12ef870166 [2252] folded long line, and a bit of doc clarification

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Mar 22 21:47:01 UTC 2013


The branch, trac2252 has been updated
       via  acbf4d8c9e3deb825a7c193a26738b12ef870166 (commit)
      from  14ee53dc65a150d46f51e4cf6d666c38187ce075 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit acbf4d8c9e3deb825a7c193a26738b12ef870166
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri Mar 22 14:46:04 2013 -0700

    [2252] folded long line, and a bit of doc clarification

-----------------------------------------------------------------------

Summary of changes:
 src/bin/xfrin/xfrin.py.in |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/xfrin/xfrin.py.in b/src/bin/xfrin/xfrin.py.in
index a4e84dd..377ef88 100755
--- a/src/bin/xfrin/xfrin.py.in
+++ b/src/bin/xfrin/xfrin.py.in
@@ -896,13 +896,16 @@ class XfrinConnection(asyncore.dispatcher):
     def _get_ipver_str(self):
         """Returns a 'v4' or 'v6' string representing a IP version
         depending on the socket family. This is for an internal use
-        only. This is supported only for IP sockets. It raises a
-        ValueError exception on other address families."""
+        only (except for tests). This is supported only for IP sockets.
+        It raises a ValueError exception on other address families.
+
+        """
         if self.socket.family == socket.AF_INET:
             return 'v4'
         elif self.socket.family == socket.AF_INET6:
             return 'v6'
-        raise ValueError("Invalid address family. This is supported only for IP sockets")
+        raise ValueError("Invalid address family. "
+                         "This is supported only for IP sockets")
 
     def _check_soa_serial(self):
         '''Send SOA query and compare the local and remote serials.



More information about the bind10-changes mailing list