Usually when the VM is gone and xsc.ls('', '/vm/..uuid..') would
return empty, an xsc.ls('', '/vm/..uuid../start_time') returns None.
But sometimes it throws an xs.lowlevel.xs.Error, saying 22,
'Invalid argument', instead.
svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=717
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:]