From 7d2e1056fd8f47c28aeb6f545769b872ed569333 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 18 Mar 2012 10:50:17 -0700 Subject: [PATCH] fix teuthology-ls isdir check --- teuthology/suite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/suite.py b/teuthology/suite.py index 6994215136d20..ad39edd2995b4 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -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 = {} -- 2.39.5