diff options
author | Gabe Black <gabeblack@chromium.org> | 2014-05-20 13:13:33 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-05-21 04:18:07 +0000 |
commit | cc2277061f701c43b1c072f093c03440459a2064 (patch) | |
tree | 7e4fef9c2ba308d77421977212664d25b29ef862 /buildbot | |
parent | 3f1792c19cf462eae97557b221fcd40e5e918ace (diff) | |
download | chromite-cc2277061f701c43b1c072f093c03440459a2064.tar.gz |
Fix the return information for GetDepChangesForChange.
That function returns a tuple of lists of objects, not a tuple of the objects
themselves.
BUG=None
TEST=Ran run_tests.
Change-Id: Ic32058501aba2566a76dca80e4173d333d02556a
Reviewed-on: https://chromium-review.googlesource.com/200643
Reviewed-by: Yu-Ju Hong <yjhong@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'buildbot')
-rw-r--r-- | buildbot/validation_pool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildbot/validation_pool.py b/buildbot/validation_pool.py index b0fdbac21..abc44eaca 100644 --- a/buildbot/validation_pool.py +++ b/buildbot/validation_pool.py @@ -734,8 +734,8 @@ class PatchSeries(object): """Look up the Gerrit/CQ dependency changes for |change|. Returns: - A tuple of GerritPatch objects which are change's Gerrit - dependencies, and CQ dependencies. + (gerrit_deps, cq_deps): The change's Gerrit dependencies and CQ + dependencies, as lists of GerritPatch objects. Raises: DependencyError: If we could not resolve a dependency. |