Pārlūkot izejas kodu

Update doc string to reflect new behaviour.

Signed-off-by: Chris Corbyn <[email protected]>
d11wtq 11 gadi atpakaļ
vecāks
revīzija
14cbe40543
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5 5
      fig/project.py

+ 5 - 5
fig/project.py

@@ -95,13 +95,13 @@ class Project(object):
         by the provided list of names, or all auto_start services if
         service_names is None or [].
 
-        If include_links is specified, returns a list prepended with the needed
-        links for service_names, in order of dependency.
+        If include_links is specified, returns a list including the links for
+        service_names, in order of dependency.
 
-        Preserves the original order of self.services.
+        Preserves the original order of self.services where possible,
+        reordering as needed to resolve links.
 
-        Raises NoSuchService if any of the named services
-        do not exist.
+        Raises NoSuchService if any of the named services do not exist.
         """
         if service_names is None or len(service_names) == 0:
             return [s for s in self.services if s.options['auto_start']]