summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bb817ab)
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))
for domid in domids:
try:
name, data = get_dom(int(domid))
+ except (xs.Error, TypeError):
continue # went down since we started
if name.startswith('d_'):
name = name[2:]
continue # went down since we started
if name.startswith('d_'):
name = name[2:]