ia64/xen-unstable

changeset 9656:7af0d54f598c

Fix call to server, using new XendClient syntax.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Mon Apr 10 16:26:23 2006 +0100 (2006-04-10)
parents 591555bc4acb
children b7802a60b09f
files tools/python/xen/util/diagnose.py
line diff
     1.1 --- a/tools/python/xen/util/diagnose.py	Mon Apr 10 16:21:44 2006 +0100
     1.2 +++ b/tools/python/xen/util/diagnose.py	Mon Apr 10 16:26:23 2006 +0100
     1.3 @@ -41,7 +41,7 @@ def diagnose(dom):
     1.4      global dompath
     1.5      
     1.6      try:
     1.7 -        domain = server.xend_domain(dom)
     1.8 +        domain = server.xend.domain(dom)
     1.9          state = sxp.child_value(domain, 'state')
    1.10          domid = int(sxp.child_value(domain, 'domid'))
    1.11          name = sxp.child_value(domain, 'name')