mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
summary is used outside the try: except:, move it outside it.
This commit is contained in:
parent
c1cd141b29
commit
ce041a525c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user