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:
parent
94f0ba1efe
commit
7d2e1056fd
@ -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 = {}
|
||||
|
Loading…
Reference in New Issue
Block a user