Vcpu-list's error message shows an unnecessary header.

Signed-off-by: Yoshinori Katase <y_katase@soft.fujitsu.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2006-01-03 14:08:32 +00:00
1 parent 1989719e21
commit c69c2efbcf
1 file changed
+2 -1
+2 -1
View File
@@ -390,7 +390,6 @@ def xm_brief_list(doms):
def xm_vcpu_list(args):
print 'Name ID VCPU CPU State Time(s) CPU Affinity'
from xen.xend.XendClient import server
if args:
@@ -401,6 +400,8 @@ def xm_vcpu_list(args):
lambda x: server.xend_domain_vcpuinfo(sxp.child_value(x, 'name')),
doms)
print 'Name ID VCPU CPU State Time(s) CPU Affinity'
for dom in dominfo:
def get_info(n):
return sxp.child_value(dom, n)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.