WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Match recent changes to the task class in

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Match recent changes to the task class in XenAPI with the get_record call here.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Jan 2007 06:00:58 -0800
Delivery-date: Tue, 30 Jan 2007 06:03:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1170009557 0
# Node ID 044c57d0fef28055d7465778d885114cdf3e4ef9
# Parent  5b973d94bc0027c19ce62bc8956db38f6c6b60c7
Match recent changes to the task class in XenAPI with the get_record call here.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendTask.py |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r 5b973d94bc00 -r 044c57d0fef2 tools/python/xen/xend/XendTask.py
--- a/tools/python/xen/xend/XendTask.py Sun Jan 28 18:38:47 2007 +0000
+++ b/tools/python/xen/xend/XendTask.py Sun Jan 28 18:39:17 2007 +0000
@@ -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):

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Match recent changes to the task class in XenAPI with the get_record call here., Xen patchbot-unstable <=