]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Use config.archive_base if one isn't passed
authorZack Cerza <zack@cerza.org>
Mon, 12 May 2014 21:25:31 +0000 (16:25 -0500)
committerZack Cerza <zack@cerza.org>
Mon, 12 May 2014 21:25:31 +0000 (16:25 -0500)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/report.py

index d31f066af2fd6b8c6a789870e5333e5f1eba892e..2a2c336ce82e791f5e060e907169c98095bcd625 100644 (file)
@@ -38,7 +38,8 @@ def main(args):
     if args['--verbose']:
         teuthology.log.setLevel(logging.DEBUG)
 
-    archive_base = os.path.abspath(os.path.expanduser(args['--archive']))
+    archive_base = os.path.abspath(os.path.expanduser(args['--archive'])) or \
+        config.archive_base
     save = not args['--no-save']
 
     log = init_logging()