ia64/xen-unstable

changeset 8083:4195392fba06

Use the getId method to tidy up simple call to domid.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Sun Nov 27 01:02:36 2005 +0000 (2005-11-27)
parents 86a2e2645e40
children b67f9f21fd9c
files tools/xm-test/lib/XmTestLib/XenDomain.py
line diff
     1.1 --- a/tools/xm-test/lib/XmTestLib/XenDomain.py	Sun Nov 27 01:01:42 2005 +0000
     1.2 +++ b/tools/xm-test/lib/XmTestLib/XenDomain.py	Sun Nov 27 01:02:36 2005 +0000
     1.3 @@ -89,7 +89,7 @@ class XenDomain:
     1.4          ret, output = traceCommand(commandLine);
     1.5  
     1.6          try:
     1.7 -            self.domID = int(domid(self.domName));
     1.8 +            self.domID = self.getId()
     1.9          except:
    1.10              self.domID = -1;
    1.11