X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/5fab9c5520b28e8caa90f3326ce82a0f40299ee9..04c466fc9094d21e3bc5dcae1f71e2877600c041:/files/usr/sbin/sipb-xen-listvms diff --git a/files/usr/sbin/sipb-xen-listvms b/files/usr/sbin/sipb-xen-listvms index b67bf6c..04dfc20 100755 --- a/files/usr/sbin/sipb-xen-listvms +++ b/files/usr/sbin/sipb-xen-listvms @@ -16,8 +16,8 @@ def live_vms(): for domid in domids: try: name, data = get_dom(int(domid)) - except ValueError: - next # went down since we started + except TypeError: + continue # went down since we started if name.startswith('d_'): name = name[2:] vms[name] = data