Skip to content

Commit 7f0de26

Browse files
committed
Check attribute isn't None before accessing sub-attributes.
- Legacy-Id: 14860
1 parent a7b9c4b commit 7f0de26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/meeting/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1944,7 +1944,7 @@ def past(request):
19441944
in meetings.filter(type='interim')]
19451945
group_parents = []
19461946
for g in groups:
1947-
if g.parent.acronym not in seen:
1947+
if g.parent and g.parent.acronym not in seen:
19481948
group_parents.append(g.parent)
19491949
seen.add(g.parent.acronym)
19501950

0 commit comments

Comments
 (0)