[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Use the getId method to tidy up simple call to domid.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 4195392fba061cda1e6a710fe530edf4fbe521a0
# Parent  86a2e2645e40bb311600159062051369963c930c
Use the getId method to tidy up simple call to domid.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 86a2e2645e40 -r 4195392fba06 tools/xm-test/lib/XmTestLib/XenDomain.py
--- a/tools/xm-test/lib/XmTestLib/XenDomain.py  Sun Nov 27 01:01:42 2005
+++ b/tools/xm-test/lib/XmTestLib/XenDomain.py  Sun Nov 27 01:02:36 2005
@@ -89,7 +89,7 @@
         ret, output = traceCommand(commandLine);
 
         try:
-            self.domID = int(domid(self.domName));
+            self.domID = self.getId()
         except:
             self.domID = -1;
 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.