[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.1-testing] [XM] Fix get_single_vm bug
# HG changeset patch # User Tom Wilkie <tom.wilkie@xxxxxxxxx> # Date 1178015804 -3600 # Node ID 0e57b064f17a7013cedceb96b8020e475c9a5358 # Parent aeac9a7d97e0840a7c9a916c130c865b0b1ff6db [XM] Fix get_single_vm bug Stops traceback when given a bad domain name signed-off-by: Tom Wilkie <tom.wilkie@xxxxxxxxx> --- tools/python/xen/xm/main.py | 2 ++ 1 files changed, 2 insertions(+) diff -r aeac9a7d97e0 -r 0e57b064f17a tools/python/xen/xm/main.py --- a/tools/python/xen/xm/main.py Wed May 02 15:25:02 2007 +0100 +++ b/tools/python/xen/xm/main.py Tue May 01 11:36:44 2007 +0100 @@ -566,6 +566,8 @@ def get_single_vm(dom): uuids = server.xenapi.VM.get_by_name_label(dom) if len(uuids) > 0: return uuids[0] + + refs = [] try: domid = int(dom) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |