[svn] commit: r3271 - /branches/trac335/src/lib/python/isc/notify/notify_out.py

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Oct 19 09:14:15 UTC 2010


Author: zhanglikun
Date: Tue Oct 19 09:14:15 2010
New Revision: 3271

Log:
Minor fix, set the event only once.

Modified:
    branches/trac335/src/lib/python/isc/notify/notify_out.py

Modified: branches/trac335/src/lib/python/isc/notify/notify_out.py
==============================================================================
--- branches/trac335/src/lib/python/isc/notify/notify_out.py (original)
+++ branches/trac335/src/lib/python/isc/notify/notify_out.py Tue Oct 19 09:14:15 2010
@@ -152,11 +152,8 @@
                 self._notifying_zones.append(zone_id)
 
     def _dispatcher(self, started_event):
+        started_event.set() # Let the master know we are alive already
         while self._serving:
-            # Let the master know we are alive already
-            if started_event:
-                started_event.set()
-
             replied_zones, not_replied_zones = self._wait_for_notify_reply()
 
             for name_ in replied_zones:




More information about the bind10-changes mailing list