]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Only ignore ENOENT errors in teuthology-ls.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 1 Jul 2011 16:32:30 +0000 (09:32 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 1 Jul 2011 16:32:30 +0000 (09:32 -0700)
teuthology/suite.py

index ba200a1a9ce2bbe50be007e7c94e945b8093a3eb..6256e532f8a1a88b821a645309be821f1f8384fe 100644 (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: