]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
failed dict.get evaluates to None 18/head
authorAlfredo Deza <alfredo@deza.pe>
Fri, 19 Jul 2013 13:01:28 +0000 (09:01 -0400)
committerAlfredo Deza <alfredo@deza.pe>
Fri, 19 Jul 2013 13:01:28 +0000 (09:01 -0400)
teuthology/queue.py

index 3a308899d37318a3e367f3f0dd17b64de87bca25..8ff69cacd3a9cd2867990dc91b987097c29a0063 100644 (file)
@@ -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'),