From 4c27b2319efd0301ba23e54b308f55c1293daeba Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Thu, 11 Oct 2012 09:54:40 +0200 Subject: [PATCH] jqueue: Correct docstring The description was not accurate. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/jqueue.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/jqueue.py b/lib/jqueue.py index 069884b52..d16b8f701 100644 --- a/lib/jqueue.py +++ b/lib/jqueue.py @@ -2107,8 +2107,10 @@ class JobQueue(object): @param resolve_fn: Function to resolve a relative job ID @type deps: list @param deps: Dependencies - @rtype: list - @return: Resolved dependencies + @rtype: tuple; (boolean, string or list) + @return: If successful (first tuple item), the returned list contains + resolved job IDs along with the requested status; if not successful, + the second element is an error message """ result = [] -- GitLab