Browse Source

Fix docstring formatting

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac335@3227 e5f2f494-b856-4b98-b285-d166d9295462
Michal Vaner 14 years ago
parent
commit
64d8257b28
1 changed files with 2 additions and 5 deletions
  1. 2 5
      src/lib/python/isc/notify/notify_out.py

+ 2 - 5
src/lib/python/isc/notify/notify_out.py

@@ -164,8 +164,7 @@ class NotifyOut:
                     self._zone_notify_handler(not_replied_zones[name_], _EVENT_TIMEOUT)
                     self._zone_notify_handler(not_replied_zones[name_], _EVENT_TIMEOUT)
 
 
     def dispatcher(self, daemon=False):
     def dispatcher(self, daemon=False):
-        """
+        """Spawns a thread that will handle notify related events.
-        Spawns a thread that will handle notify related events.
 
 
         If one zone get the notify reply before timeout, call the
         If one zone get the notify reply before timeout, call the
         handle to process the reply. If one zone can't get the notify
         handle to process the reply. If one zone can't get the notify
@@ -200,9 +199,7 @@ class NotifyOut:
         return self._thread
         return self._thread
 
 
     def shutdown(self):
     def shutdown(self):
-        """
+        """Stop the dispatcher() thread. Blocks until the thread stopped."""
-        Stop the dispatcher() thread. Blocks until the thread stopped.
-        """
 
 
         if not self._serving:
         if not self._serving:
             raise RuntimeError('Tried to stop while not running')
             raise RuntimeError('Tried to stop while not running')