Mercurial > mozilla > hg > talosnames
changeset 51:601ebbbdf63e
more mysteries and random guesses
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 13 Aug 2012 16:32:53 -0700 |
parents | 687d31c93111 |
children | 821e1dc63453 |
files | talosnames/api.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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():