diff talosnames/web.py @ 22:82d15f93cc4a

wip
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 10 Jul 2012 19:04:23 -0700
parents 48b4c926be73
children 56d267d847e1
line wrap: on
line diff
--- a/talosnames/web.py	Tue Jul 10 18:56:34 2012 -0700
+++ b/talosnames/web.py	Tue Jul 10 19:04:23 2012 -0700
@@ -5,6 +5,7 @@
 """
 
 import os
+import pprint
 import tempita
 from api import TalosNames
 from webob import Request, Response, exc
@@ -39,7 +40,8 @@
                 'commands': self.api.buildbot_commands,
                 'tbpl': dict([(suite, self.api.tbpl_name(suite))
                               for suite in suites]),
-                'tests': tests
+                'tests': tests,
+                'pprint': pprint.pformat
                 }
         return template.substitute(data)