From 5263a6f7584e83182e12546d677cf18e7cb1007f Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 19 Jul 2013 09:01:28 -0400 Subject: [PATCH] failed dict.get evaluates to None --- teuthology/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/queue.py b/teuthology/queue.py index 3a308899d3731..8ff69cacd3a9c 100644 --- a/teuthology/queue.py +++ b/teuthology/queue.py @@ -86,7 +86,7 @@ describe. One job is run at a time. teuth_path = os.path.join(os.getenv("HOME"), 'teuthology-' + teuthology_branch, 'virtualenv', 'bin') if not os.path.isdir(teuth_path): raise Exception('Teuthology branch ' + teuthology_branch + ' not found at ' + teuth_path) - if job_config.get('last_in_suite', False): + if job_config.get('last_in_suite'): log.debug('Generating coverage for %s', job_config['name']) args = [ os.path.join(teuth_path, 'teuthology-results'), -- 2.39.5