pld-builder.new: PLD_Builder/request.py, PLD_Builder/request_handler_server...
glen
glen at pld-linux.org
Mon Aug 2 13:55:31 CEST 2010
Author: glen Date: Mon Aug 2 11:55:31 2010 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
- format commands as <pre> blocks
---- Files affected:
pld-builder.new/PLD_Builder:
request.py (1.76 -> 1.77) , request_handler_server.py (1.17 -> 1.18)
---- Diffs:
================================================================
Index: pld-builder.new/PLD_Builder/request.py
diff -u pld-builder.new/PLD_Builder/request.py:1.76 pld-builder.new/PLD_Builder/request.py:1.77
--- pld-builder.new/PLD_Builder/request.py:1.76 Mon Jun 7 22:40:04 2010
+++ pld-builder.new/PLD_Builder/request.py Mon Aug 2 13:55:26 2010
@@ -212,7 +212,7 @@
def dump_html(self, f, rid):
f.write("<li>\n")
if self.is_command():
- desc = "SH: %s [%s]" % (self.command, ' '.join(self.command_flags))
+ desc = "SH: <pre>%s</pre> flags: [%s]" % (self.command, ' '.join(self.command_flags))
else:
package_url = "http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/%(package)s/%(spec)s?only_with_tag=%(branch)s" % {
'spec': self.spec,
================================================================
Index: pld-builder.new/PLD_Builder/request_handler_server.py
diff -u pld-builder.new/PLD_Builder/request_handler_server.py:1.17 pld-builder.new/PLD_Builder/request_handler_server.py:1.18
--- pld-builder.new/PLD_Builder/request_handler_server.py:1.17 Mon Jun 7 22:14:02 2010
+++ pld-builder.new/PLD_Builder/request_handler_server.py Mon Aug 2 13:55:26 2010
@@ -77,6 +77,15 @@
color: #006;
}
+pre {
+ background: #FFF8EB;
+ border: 1pt solid #FFE2AB;
+ font-family: courier, monospace;
+ padding: 0.5em;
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+
@media screen, projection {
html {
background-color: #f3efe3;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/request.py?r1=1.76&r2=1.77&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/request_handler_server.py?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list