Browse Source

Minor fix, set the event only once.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac335@3271 e5f2f494-b856-4b98-b285-d166d9295462
Likun Zhang 14 years ago
parent
commit
889021fd4b
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/lib/python/isc/notify/notify_out.py

+ 1 - 4
src/lib/python/isc/notify/notify_out.py

@@ -152,11 +152,8 @@ class NotifyOut:
                 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: