1
0
mirror of https://github.com/ceph/ceph synced 2025-03-31 16:25:56 +00:00

fix teuthology-ls isdir check

This commit is contained in:
Sage Weil 2012-03-18 10:50:17 -07:00
parent 94f0ba1efe
commit 7d2e1056fd

View File

@ -157,7 +157,7 @@ def ls():
args = parser.parse_args()
for j in sorted(os.listdir(args.archive_dir)):
if j.startswith('.') or os.path.isdir(j):
if j.startswith('.') or not os.path.isdir(j):
continue
summary = {}