aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/scripts
diff options
context:
space:
mode:
authorAlastair Tse <atse@xensource.com>2007-01-24 15:59:09 +0000
committerAlastair Tse <atse@xensource.com>2007-01-24 15:59:09 +0000
commit16324b1affd81722aa3317eec67804329f943a2d (patch)
tree60def0524390c4b262e7c03166489bbd19aa75b8 /tools/python/scripts
parent7d65668740aaa122efaca4a3d0754c62c5e60437 (diff)
downloadxen-16324b1affd81722aa3317eec67804329f943a2d.tar.gz
xen-16324b1affd81722aa3317eec67804329f943a2d.tar.bz2
xen-16324b1affd81722aa3317eec67804329f943a2d.zip
[XEND] Add debug class to Xen API plus non-standard debug.wait().
debug.wait(seconds) will just do a time.sleep() so the task progress support can be tested. Signed-off-by: Alastair Tse <atse@xensource.com>
Diffstat (limited to 'tools/python/scripts')
-rw-r--r--tools/python/scripts/xapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/scripts/xapi.py b/tools/python/scripts/xapi.py
index 8e17354597..930395b6a8 100644
--- a/tools/python/scripts/xapi.py
+++ b/tools/python/scripts/xapi.py
@@ -662,7 +662,7 @@ def xapi_debug_wait(args, async = False):
if len(args) > 0:
secs = int(args[0])
server, session = connect()
- task_uuid = execute(server, 'Debug.wait', (session, secs), async=async)
+ task_uuid = execute(server, 'debug.wait', (session, secs), async=async)
print 'Task UUID: %s' % task_uuid
#