From ce041a525ce2a62ef4f5480a9c891a1e7beb3a92 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Fri, 1 Jul 2011 09:33:06 -0700 Subject: [PATCH] summary is used outside the try: except:, move it outside it. --- teuthology/suite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/suite.py b/teuthology/suite.py index 6256e532f8a1a..b1ba67efc3887 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -135,8 +135,8 @@ def ls(): if j.startswith('.'): continue + summary = {} try: - summary = {} with file('%s/%s/summary.yaml' % (args.archive_dir,j)) as f: g = yaml.safe_load_all(f) for new in g: -- 2.39.5