From: Zack Cerza Date: Mon, 12 May 2014 21:25:31 +0000 (-0500) Subject: Use config.archive_base if one isn't passed X-Git-Tag: 1.1.0~1452 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=971c0652f518bbe405d09242149554c145339304;p=teuthology.git Use config.archive_base if one isn't passed Signed-off-by: Zack Cerza --- diff --git a/teuthology/report.py b/teuthology/report.py index d31f066af2..2a2c336ce8 100644 --- a/teuthology/report.py +++ b/teuthology/report.py @@ -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()