Mercurial > mozilla > hg > talosnames
diff talosnames/api.py @ 51:601ebbbdf63e
more mysteries and random guesses
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 13 Aug 2012 16:32:53 -0700 |
parents | cc0edf61ab21 |
children | 78e72729582e |
line wrap: on
line diff
--- a/talosnames/api.py Mon Aug 13 16:26:35 2012 -0700 +++ b/talosnames/api.py Mon Aug 13 16:32:53 2012 -0700 @@ -107,7 +107,10 @@ ### functions for fetching information def tbpl_name(self, name): - """returns the TBPL long name""" + """returns the TBPL long name from buildbot name""" + if name.startswith('remote-'): + name = name[len('remote-'):] + if name in self._tbpl_names: return self._tbpl_names[name] for tbplname, regex in self.tbpl_regexs.items():