]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
fix teuthology-ls isdir check
authorSage Weil <sage@newdream.net>
Sun, 18 Mar 2012 17:50:17 +0000 (10:50 -0700)
committerSage Weil <sage@newdream.net>
Sun, 18 Mar 2012 17:50:17 +0000 (10:50 -0700)
teuthology/suite.py

index 6994215136d209345fc29abf91cf81ac8f3f81e1..ad39edd2995b478ae93b3516c7922b88c1399260 100644 (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 = {}