xenstore isn't even consistent in what happens on error
[invirt/packages/invirt-remote.git] / files / usr / sbin / sipb-xen-listvms
index 4daa953..79762fa 100755 (executable)
@@ -16,7 +16,7 @@ def live_vms():
     for domid in domids:
         try:
             name, data = get_dom(int(domid))
-        except TypeError:
+        except (xs.Error, TypeError):
             continue # went down since we started
         if name.startswith('d_'):
             name = name[2:]