aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2007-01-28 18:39:17 +0000
committerEwan Mellor <ewan@xensource.com>2007-01-28 18:39:17 +0000
commit6a288c4b02f4f127984022eb024c4635e0196137 (patch)
treee79ef16f95dfd460fcd9cd919ede2940a233146b /tools
parentfcbd69e64846da6f3903df0b68a41aa0cdc90017 (diff)
downloadxen-6a288c4b02f4f127984022eb024c4635e0196137.tar.gz
xen-6a288c4b02f4f127984022eb024c4635e0196137.tar.bz2
xen-6a288c4b02f4f127984022eb024c4635e0196137.zip
Match recent changes to the task class in XenAPI with the get_record call here.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xend/XendTask.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/python/xen/xend/XendTask.py b/tools/python/xen/xend/XendTask.py
index d4de65b566..92d5fdd732 100644
--- a/tools/python/xen/xend/XendTask.py
+++ b/tools/python/xen/xend/XendTask.py
@@ -67,7 +67,6 @@ class XendTask(threading.Thread):
self.status = XEN_API_TASK_STATUS_TYPE[0]
self.progress = 0
- self.eta = None # TODO: we have no time estimates
self.type = return_type
self.uuid = uuid
@@ -141,11 +140,11 @@ class XendTask(threading.Thread):
'name_description': self.name_description,
'status': self.status,
'progress': self.get_progress(),
- 'eta': self.eta,
'type': self.type,
'result': self.result,
'error_code': self.error_code,
'error_info': self.error_info,
+ 'allowed_operations': {},
}
def get_progress(self):