BIND 10 trac2676, updated. 3bec0f1f82f1bbc2a296cb40999047421abcba94 [2676] remove the comment about using "protected" member in __notify_update.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Feb 19 17:37:56 UTC 2013
The branch, trac2676 has been updated
via 3bec0f1f82f1bbc2a296cb40999047421abcba94 (commit)
via e4688c06e8217659cf1c1c72adacba12ef9e8974 (commit)
from 59651a74809b06c0228d2b39202335fffaee048e (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 3bec0f1f82f1bbc2a296cb40999047421abcba94
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Feb 19 09:37:03 2013 -0800
[2676] remove the comment about using "protected" member in __notify_update.
the revised code eliminated its use as a side effect.
commit e4688c06e8217659cf1c1c72adacba12ef9e8974
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Feb 19 09:36:26 2013 -0800
[2676] indentation fix
-----------------------------------------------------------------------
Summary of changes:
src/bin/ddns/ddns.py.in | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/ddns/ddns.py.in b/src/bin/ddns/ddns.py.in
index 0eff02c..d382495 100755
--- a/src/bin/ddns/ddns.py.in
+++ b/src/bin/ddns/ddns.py.in
@@ -547,7 +547,7 @@ class DDNSServer:
try:
self._cc.rpc_call("start_ddns_forwarder", AUTH_MODULE_NAME)
except (SessionTimeout, SessionError, ProtocolError,
- RPCRecipientMissing) as ex:
+ RPCRecipientMissing) as ex:
logger.error(DDNS_START_FORWARDER_FAIL, ex)
except RPCError as e:
logger.error(DDNS_START_FORWARDER_ERROR, e)
@@ -559,7 +559,7 @@ class DDNSServer:
try:
self._cc.rpc_call("stop_ddns_forwarder", AUTH_MODULE_NAME)
except (SessionTimeout, SessionError, ProtocolError,
- RPCRecipientMissing) as ex:
+ RPCRecipientMissing) as ex:
logger.error(DDNS_STOP_FORWARDER_FAIL, ex)
except RPCError as e:
logger.error(DDNS_STOP_FORWARDER_ERROR, e)
@@ -587,13 +587,6 @@ class DDNSServer:
For a longer term we'll need to switch to asynchronous communication,
but for now we rely on the blocking operation.
- Note also that we directly refer to the "protected" member of
- ccsession (_cc._session) rather than creating a separate channel.
- It's probably not the best practice, but hopefully we can introduce
- a cleaner way when we support asynchronous communication.
- At the moment we prefer the brevity with the use of internal channel
- of the cc session.
-
'''
try:
# FIXME? Is really rpc_call the correct one? What if there are more
More information about the bind10-changes
mailing list