[Libvirt-cim] [PATCH 3 of 3] [TEST] #2 Add test report generation

Dan Smith danms at us.ibm.com
Wed Aug 13 18:14:40 UTC 2008


KR> This is odd because the code uses tabs:

The tabs aren't translating properly into the mailer, I'm sure.  I think
it would be safer to use space-padded fields where possible.

KR> for type, val in rvals.iteritems():

Replacing this:

KR>         results += " %s:\t%d\n" % (type, val)

with something like this:

  results += " %s: %20d\n" % (type, val)

should do it.

KR>     results_total  = " -----------------\n Total:\t%d\n" % test_total

The same should be applicable here

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080813/074e0ad0/attachment.sig>


More information about the Libvirt-cim mailing list