direct-io.hg

changeset 13685:044c57d0fef2

Match recent changes to the task class in XenAPI with the get_record call here.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Sun Jan 28 18:39:17 2007 +0000 (2007-01-28)
parents 5b973d94bc00
children c2f1bb01bca3
files tools/python/xen/xend/XendTask.py
line diff
     1.1 --- a/tools/python/xen/xend/XendTask.py	Sun Jan 28 18:38:47 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendTask.py	Sun Jan 28 18:39:17 2007 +0000
     1.3 @@ -67,7 +67,6 @@ class XendTask(threading.Thread):
     1.4          self.status = XEN_API_TASK_STATUS_TYPE[0]
     1.5  
     1.6          self.progress = 0
     1.7 -        self.eta = None  # TODO: we have no time estimates
     1.8          self.type = return_type
     1.9          self.uuid = uuid
    1.10          
    1.11 @@ -141,11 +140,11 @@ class XendTask(threading.Thread):
    1.12              'name_description': self.name_description,
    1.13              'status': self.status,
    1.14              'progress': self.get_progress(),
    1.15 -            'eta': self.eta,
    1.16              'type': self.type,
    1.17              'result': self.result,
    1.18              'error_code': self.error_code,
    1.19              'error_info': self.error_info,
    1.20 +            'allowed_operations': {},
    1.21          }
    1.22  
    1.23      def get_progress(self):