]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
If archive_base is None, use config's
authorZack Cerza <zack@cerza.org>
Tue, 24 Jun 2014 17:07:02 +0000 (11:07 -0600)
committerZack Cerza <zack@cerza.org>
Tue, 24 Jun 2014 17:07:02 +0000 (11:07 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/report.py

index 2a2c336ce82e791f5e060e907169c98095bcd625..cb0489e09db5be0c80306c297da37930641dc075 100644 (file)
@@ -69,7 +69,7 @@ class ResultsSerializer(object):
     yamls = ('orig.config.yaml', 'config.yaml', 'info.yaml', 'summary.yaml')
 
     def __init__(self, archive_base, log=None):
-        self.archive_base = archive_base
+        self.archive_base = archive_base or config.archive_base
         self.log = log or init_logging()
 
     def job_info(self, run_name, job_id, pretty=False):