Browse Source

[213] minor editorial fix: moved the module description before imports.
(otherwise this wouldn't considered the module description in pydoc)

JINMEI Tatuya 13 years ago
parent
commit
6215c5929b
1 changed files with 9 additions and 9 deletions
  1. 9 9
      src/lib/python/isc/bind10/component.py

+ 9 - 9
src/lib/python/isc/bind10/component.py

@@ -13,6 +13,15 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 
+"""
+Module for managing components (abstraction of process). It allows starting
+them in given order, handling when they crash (what happens depends on kind
+of component) and shutting down. It also handles the configuration of this.
+
+Dependencies between them are not yet handled. It might turn out they are
+needed, in that case they will be added sometime in future.
+"""
+
 import isc.bind10.sockcreator
 import isc.bind10.sockcreator
 import isc.log
 import isc.log
 from isc.log_messages.bind10_messages import *
 from isc.log_messages.bind10_messages import *
@@ -24,15 +33,6 @@ logger = isc.log.Logger("boss")
 DBG_TRACE_DATA = 20
 DBG_TRACE_DATA = 20
 DBG_TRACE_DETAILED = 80
 DBG_TRACE_DETAILED = 80
 
 
-"""
-Module for managing components (abstraction of process). It allows starting
-them in given order, handling when they crash (what happens depends on kind
-of component) and shutting down. It also handles the configuration of this.
-
-Dependencies between them are not yet handled. It might turn out they are
-needed, in that case they will be added sometime in future.
-"""
-
 class Component:
 class Component:
     """
     """
     This represents a single component. It has some defaults of behaviour,
     This represents a single component. It has some defaults of behaviour,