# HG changeset patch # User Sylvain Thénault # Date 1254995193 -7200 # Node ID af81a4f7053ed911335a91e8d929aff36d3615c1 # Parent 600ee58a1375a16e26926ad43177f0baf56f8347 enhance docstring diff -r 600ee58a1375 -r af81a4f7053e cwctl.py --- a/cwctl.py Thu Oct 08 11:44:06 2009 +0200 +++ b/cwctl.py Thu Oct 08 11:46:33 2009 +0200 @@ -70,7 +70,10 @@ def ordered_instances(self): """return instances in the order in which they should be started, considering $REGISTRY_DIR/startorder file if it exists (useful when - some instances depends on another as external source + some instances depends on another as external source). + + Instance used by another one should appears first in the file (one + instance per line) """ regdir = cwcfg.registry_dir() _allinstances = list_instances(regdir)