Avoid spaces in treeherder tags

The are visually separated by each other by only a space
This commit is contained in:
Simon Sapin 2019-12-06 12:14:01 +01:00
parent 9c93ca6580
commit 648de3984a
2 changed files with 9 additions and 10 deletions

View file

@ -172,8 +172,7 @@ class Task:
self.treeherder_required = True
return self
def with_treeherder(self, category, symbol=None):
symbol = symbol or self.name
def with_treeherder(self, category, symbol):
assert len(symbol) <= 25, symbol
self.name = "%s: %s" % (category, self.name)