From 09043dcf35ca78d51d22d3518a9a7fb20f34530f Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Mon, 15 Jan 2018 11:26:13 -0500 Subject: [PATCH] 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 --- openstack_releases/governance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_releases/governance.py b/openstack_releases/governance.py index 489bbe078c..d81bcec6ea 100644 --- a/openstack_releases/governance.py +++ b/openstack_releases/governance.py @@ -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'))