Make display of shortcut box nicer
authorMatthieu Patou <mat@matws.net>
Thu, 15 Mar 2012 07:36:06 +0000 (00:36 -0700)
committerMatthieu Patou <mat@matws.net>
Thu, 15 Mar 2012 07:36:06 +0000 (00:36 -0700)
buildfarm/web/__init__.py

index 95671e7085c10be787cb85fa1049a22b0856e05a..ca2c242e20df78eefbd94bc397b7da449f31948c 100755 (executable)
@@ -259,6 +259,7 @@ class LogPrettyPrinter(object):
             buf = "%s\n<A href='#%s'>%s</A>" % (buf, tst[1], tst[0])
 
         if not buf == "":
+            buf = "%s\n" % buf
             divhtml = "".join(make_collapsible_html('testlinks', 'Shortcut to failed tests', buf, self.indice, ""))
             log = re.sub("Running action\s+test", divhtml, log)
         return "<pre>%s</pre>" % log