Skip to content

Commit e2cc982

Browse files
committed
Added a guard against missing conflrev state in iesg agenda code.
- Legacy-Id: 16877
1 parent bf8f928 commit e2cc982

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/iesg/agenda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_doc_section(doc):
8282
s += ".1"
8383

8484
elif doc.type_id == 'conflrev':
85-
if doc.get_state('conflrev').slug not in ('adrev','iesgeval','appr-reqnopub-pend','appr-reqnopub-sent','appr-noprob-pend','appr-noprob-sent','defer'):
85+
if not doc.get_state('conflrev') or doc.get_state('conflrev').slug not in ('adrev','iesgeval','appr-reqnopub-pend','appr-reqnopub-sent','appr-noprob-pend','appr-noprob-sent','defer'):
8686
s = "3.4.3"
8787
elif doc.returning_item():
8888
s = "3.4.2"

0 commit comments

Comments
 (0)