From: Keir Fraser Date: Tue, 22 Jun 2010 06:28:47 +0000 (+0100) Subject: Remus: fix VM stringification X-Git-Tag: 4.0.1-rc4~55 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=db1139fb6e27fc2fdc460226a5dd7393c8554c4a;p=xen.git Remus: fix VM stringification Signed-off-by: Brendan Cully xen-unstable changeset: 21241:d6bd61a5a0fc xen-unstable date: Tue May 04 09:34:50 2010 +0100 --- diff --git a/tools/python/xen/remus/vm.py b/tools/python/xen/remus/vm.py index dd52148efc..ae4d260a26 100644 --- a/tools/python/xen/remus/vm.py +++ b/tools/python/xen/remus/vm.py @@ -42,8 +42,9 @@ class VM(object): self.vifs = getvifs(self.dom) def __str__(self): - return 'VM %d (%s), MACs: [%s], disks: [%s]' % \ - (self.domid, self.name, self.epoch, ', '.join(self.macs), + return 'VM %d (%s), vifs: [%s], disks: [%s]' % \ + (self.domid, self.name, + ', '.join([str(v) for v in self.vifs]), ', '.join([str(d) for d in self.disks])) def parsedominfo(dominfo):