From: Alfredo Deza Date: Fri, 19 Jul 2013 13:01:28 +0000 (-0400) Subject: failed dict.get evaluates to None X-Git-Tag: 1.1.0~2071^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F18%2Fhead;p=teuthology.git failed dict.get evaluates to None --- diff --git a/teuthology/queue.py b/teuthology/queue.py index 3a308899d..8ff69cacd 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'),