Mercurial > mozilla > hg > talosnames
diff talosnames/main.py @ 10:1029ddf7b806
get the buildbot config
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 10 Jul 2012 16:22:58 -0700 |
parents | ab2bd5dda72c |
children | a4aa9f83e3be |
line wrap: on
line diff
--- a/talosnames/main.py Tue Jul 10 14:54:03 2012 -0700 +++ b/talosnames/main.py Tue Jul 10 16:22:58 2012 -0700 @@ -15,6 +15,7 @@ self.api = api.TalosNames() def graphserver(self, *names): + """give graphserver names from test names""" if not names: names = [None] for arg in names: @@ -22,6 +23,10 @@ print '%s : %s' % (name, graphserver_name) print + def tbpl(self, name): + """give TBPL name given the buildbot config name""" + return self.api.tbpl_name(name) + def main(args=sys.argv[1:]): parser = CommandParser(TalosNamesCLI) parser.invoke(sys.argv[1:])