if a team does not exist in governance return empty set of tags
Change-Id: I9c3ff38de16cc45b8ca8aa03ab35ac897207a892 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
87810864f2
commit
55c12c6f36
@ -37,6 +37,8 @@ def get_team_data(url=PROJECTS_LIST):
|
||||
|
||||
def get_tags_for_deliverable(team_data, team, name):
|
||||
"Return the tags for the deliverable owned by the team."
|
||||
if team not in team_data:
|
||||
return set()
|
||||
team_info = team_data[team]
|
||||
dinfo = team_info['deliverables'].get(name)
|
||||
if not dinfo:
|
||||
|
Loading…
Reference in New Issue
Block a user