1
0
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:
Tommi Virtanen 2011-07-01 09:32:30 -07:00
parent fdbf591cba
commit c1cd141b29

View File

@ -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: