From 971c0652f518bbe405d09242149554c145339304 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 12 May 2014 16:25:31 -0500 Subject: [PATCH] Use config.archive_base if one isn't passed Signed-off-by: Zack Cerza --- teuthology/report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/report.py b/teuthology/report.py index d31f066af2fd6..2a2c336ce82e7 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() -- 2.39.5