# HG changeset patch # User Jeff Hammel # Date 1342586165 25200 # Node ID c6580ad2612f6d5cd094a410938339be5f4d61fb # Parent 3f7bc028d6eb10f6e67ea75da4a2364eeb65429b better formatting of command diff -r 3f7bc028d6eb -r c6580ad2612f talosnames/templates/index.html --- a/talosnames/templates/index.html Tue Jul 17 14:23:06 2012 -0700 +++ b/talosnames/templates/index.html Tue Jul 17 21:36:05 2012 -0700 @@ -51,7 +51,7 @@ {{for suite in suites}} {{suite}} - {{repr(commands[suite])}} + {{list2cmdline(commands[suite])}} {{tbpl[suite]}} {{paint.get(suite, '')}} {{chrome.get(suite, '')}} diff -r 3f7bc028d6eb -r c6580ad2612f talosnames/web.py --- a/talosnames/web.py Tue Jul 17 14:23:06 2012 -0700 +++ b/talosnames/web.py Tue Jul 17 21:36:05 2012 -0700 @@ -8,6 +8,7 @@ import pprint import tempita from api import TalosNames +from subprocess import list2cmdline from webob import Request, Response, exc here = os.path.dirname(os.path.abspath(__file__)) @@ -35,7 +36,7 @@ for suite in suites]), 'tests': tests, 'pprint': pprint.pformat, - 'api': self.api + 'list2cmdline': list2cmdline } paint = {}