From: Zack Cerza Date: Fri, 13 Jun 2014 19:48:18 +0000 (-0500) Subject: Use the return value of schedule_suite() X-Git-Tag: 1.1.0~1386 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1be15edbcb0bbd875773e44993e8675c21ffa11e;p=teuthology.git Use the return value of schedule_suite() Signed-off-by: Zack Cerza --- diff --git a/teuthology/suite.py b/teuthology/suite.py index fb6c10e3d3..a149c52e95 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -57,16 +57,16 @@ def main(args): suite_path = os.path.join(base, suite) - num_jobs = 0 - schedule_suite(name=suite, - path=suite_path, - base_yamls=base_yaml_paths, - base_args=base_args, - arch=arch, - machine_type=machine_type, - limit=limit, - dry_run=dry_run, - ) + num_jobs = schedule_suite( + name=suite, + path=suite_path, + base_yamls=base_yaml_paths, + base_args=base_args, + arch=arch, + machine_type=machine_type, + limit=limit, + dry_run=dry_run, + ) if num_jobs: arg = copy.deepcopy(base_args)