Skip to content

Commit f1c9c7a

Browse files
committed
Return "irtf" as area for the IRTF group to mimic old system better
- Legacy-Id: 4036
1 parent 3127cd0 commit f1c9c7a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

ietf/meeting/proxy.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,11 @@ def acronym_name(self):
439439
else:
440440
return self.session.group.name
441441
def area(self):
442-
if not self.session or not self.session.group or not self.session.group.parent or not self.session.group.parent.type_id in ["area","irtf"]:
442+
if not self.session or not self.session.group:
443+
return ""
444+
if self.session.group.type_id == "irtf":
445+
return "irtf"
446+
if not self.session.group.parent or not self.session.group.parent.type_id in ["area","irtf"]:
443447
return ""
444448
return self.session.group.parent.acronym
445449
def area_name(self):

0 commit comments

Comments
 (0)