BIND 10 trac1986, updated. ea44fe72161fa65fef97d128b28f1223a8762d99 [1986] some trivial editorial fixes (folded long lines, removed unnec'y ()).

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jul 17 22:32:35 UTC 2012


The branch, trac1986 has been updated
       via  ea44fe72161fa65fef97d128b28f1223a8762d99 (commit)
      from  96f4382db5fdd9df1a63d658e9baae1b48502537 (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 ea44fe72161fa65fef97d128b28f1223a8762d99
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Jul 17 15:31:59 2012 -0700

    [1986] some trivial editorial fixes (folded long lines, removed unnec'y ()).

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

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

-----------------------------------------------------------------------
diff --git a/src/bin/ddns/ddns.py.in b/src/bin/ddns/ddns.py.in
index 00d5795..b84ba29 100755
--- a/src/bin/ddns/ddns.py.in
+++ b/src/bin/ddns/ddns.py.in
@@ -543,20 +543,20 @@ class DDNSServer:
 
     def __notify_start_forwarder(self):
         '''Notify auth that DDNS Update packets can now be forwarded'''
-        seq = self._cc._session.group_sendmsg(create_command("start_ddns_forwarder"),
-                                        AUTH_MODULE_NAME)
+        seq = self._cc._session.group_sendmsg(create_command(
+                "start_ddns_forwarder"), AUTH_MODULE_NAME)
         answer, _ = self._cc._session.group_recvmsg(False, seq)
         rcode, error_msg = parse_answer(answer)
-        if (rcode != 0):
+        if rcode != 0:
             logger.error(DDNS_START_FORWARDER_ERROR, error_msg)
 
     def __notify_stop_forwarder(self):
         '''Notify auth that DDNS Update packets can now be forwarded'''
-        seq = self._cc._session.group_sendmsg(create_command("stop_ddns_forwarder"),
-                                        AUTH_MODULE_NAME)
+        seq = self._cc._session.group_sendmsg(create_command(
+                "stop_ddns_forwarder"), AUTH_MODULE_NAME)
         answer, _ = self._cc._session.group_recvmsg(False, seq)
         rcode, error_msg = parse_answer(answer)
-        if (rcode != 0):
+        if rcode != 0:
             logger.error(DDNS_STOP_FORWARDER_ERROR, error_msg)
 
     def __notify_auth(self, zname, zclass):



More information about the bind10-changes mailing list