look for liaison using team.lower()
The wiki module normalizes the team names in the table by converting them to lower case. Do the same when we look up the team to ensure we find teams with mixed or upper case names in the wiki page. Change-Id: I09c0ce4051b84084e2a3b7a186ec9e6efb10cdf0 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
5f76f75804
commit
09043dcf35
@ -86,7 +86,7 @@ class Team(object):
|
||||
if self._liaison_data is None:
|
||||
# Only hit the wiki page one time.
|
||||
Team._liaison_data = wiki.get_liaison_data()
|
||||
team_liaison = self._liaison_data.get(self.name, {})
|
||||
team_liaison = self._liaison_data.get(self.name.lower(), {})
|
||||
return (team_liaison.get('Liaison'),
|
||||
team_liaison.get('IRC Handle'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user