mirror of
https://github.com/ceph/ceph
synced 2025-01-19 01:21:49 +00:00
Only ignore ENOENT errors in teuthology-ls.
This commit is contained in:
parent
fdbf591cba
commit
c1cd141b29
@ -1,4 +1,5 @@
|
||||
import argparse
|
||||
import errno
|
||||
import itertools
|
||||
import logging
|
||||
import os
|
||||
@ -141,7 +142,10 @@ def ls():
|
||||
for new in g:
|
||||
summary.update(new)
|
||||
except IOError, e:
|
||||
continue
|
||||
if e.errno == errno.ENOENT:
|
||||
continue
|
||||
else:
|
||||
raise
|
||||
|
||||
for key in ['owner', 'description']:
|
||||
if not key in summary:
|
||||
|
Loading…
Reference in New Issue
Block a user