From: Zack Cerza Date: Tue, 8 Sep 2015 17:32:54 +0000 (-0600) Subject: Fix bug in using priority 0 X-Git-Tag: 1.1.0~826^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F620%2Fhead;p=teuthology.git Fix bug in using priority 0 http://tracker.ceph.com/issues/12995 Signed-off-by: Zack Cerza --- diff --git a/teuthology/suite.py b/teuthology/suite.py index 80d1dfc4e..80cbd50e8 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -276,7 +276,7 @@ def prepare_and_schedule(job_config, suite_repo_path, base_yaml_paths, limit, ] if dry_run: base_args.append('--dry-run') - if job_config.priority: + if job_config.priority is not None: base_args.extend(['--priority', str(job_config.priority)]) if verbose: base_args.append('-v')