Parcourir la source

[213] Document a parameter

Michal 'vorner' Vaner il y a 13 ans
Parent
commit
bd938be1ca
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      src/bin/bind10/bind10_src.py.in

+ 5 - 0
src/bin/bind10/bind10_src.py.in

@@ -617,8 +617,13 @@ class BoB:
         """
         Put another process into boss to watch over it.  When the process
         dies, the info.failed() is called with the exit code.
+
+        It is expected the info is a isc.bind10.component.BaseComponent
+        subclass (or anything having the same interface).
         """
         if '_procinfo' in dir(info):
+            # FIXME: This is temporary and the interface of the component
+            # doesn't guarantee the existence.
             self.processes[pid] = info._procinfo
         else:
             # XXX: a short term hack.  This is the sockcreator.