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

[Xen-changelog] Improve HTML output.



# HG changeset patch
# User emellor@ewan
# Node ID 50c2fe359c7389894e9fcaf1e198ed9a9fa13194
# Parent  d78d2fa50703a37a3f6d68fcde8f2aafda87d8a8
Improve HTML output.

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

diff -r d78d2fa50703 -r 50c2fe359c73 
tools/python/xen/xend/server/SrvDomainDir.py
--- a/tools/python/xen/xend/server/SrvDomainDir.py      Wed Sep 28 12:43:33 2005
+++ b/tools/python/xen/xend/server/SrvDomainDir.py      Wed Sep 28 12:44:15 2005
@@ -152,11 +152,11 @@
             domains = self.xd.list_sorted()
             req.write('<ul>')
             for d in domains:
-                req.write('<li><a href="%s%s"> Domain %s</a>'
-                          % (url, d.getName(), d.getName()))
-                req.write('id=%s' % d.getDomain())
-                req.write('memory=%d'% d.getMemoryTarget())
-                req.write('ssidref=%d'% d.getSsidref())
+                req.write(
+                    '<li><a href="%s%s">Domain %s</a>: id = %s, memory = %d, '
+                    'ssidref = %d.'
+                    % (url, d.getName(), d.getName(), d.getDomid(),
+                       d.getMemoryTarget(), d.getSsidref()))
                 req.write('</li>')
             req.write('</ul>')
 

_______________________________________________
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®.