Mercurial > mozilla > hg > talosnames
comparison talosnames/web.py @ 24:56d267d847e1
more progress
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 10 Jul 2012 21:36:24 -0700 |
parents | 82d15f93cc4a |
children | 6ec941f8704a |
comparison
equal
deleted
inserted
replaced
23:5f39ce13fbbc | 24:56d267d847e1 |
---|---|
39 data = {'suites': suites, | 39 data = {'suites': suites, |
40 'commands': self.api.buildbot_commands, | 40 'commands': self.api.buildbot_commands, |
41 'tbpl': dict([(suite, self.api.tbpl_name(suite)) | 41 'tbpl': dict([(suite, self.api.tbpl_name(suite)) |
42 for suite in suites]), | 42 for suite in suites]), |
43 'tests': tests, | 43 'tests': tests, |
44 'pprint': pprint.pformat | 44 'pprint': pprint.pformat, |
45 'api': self.api | |
45 } | 46 } |
46 return template.substitute(data) | 47 return template.substitute(data) |
47 | 48 |
48 if __name__ == '__main__': | 49 if __name__ == '__main__': |
49 from wsgiref import simple_server | 50 from wsgiref import simple_server |