From ab99972d768ec3b30ef04812c847149208fb3157 Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Thu, 10 Aug 2023 17:44:37 -0300 Subject: [PATCH] fix: Check state correctly --- ietf/sync/rfceditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/sync/rfceditor.py b/ietf/sync/rfceditor.py index d924fb522..a88e420f6 100644 --- a/ietf/sync/rfceditor.py +++ b/ietf/sync/rfceditor.py @@ -532,7 +532,7 @@ def update_docs_from_rfc_index( doc.stream = stream_mapping[stream] rfc_changes.append(f"{verbed} stream to {doc.stream}") - if doc.get_state(rfc_published_state.type) != rfc_published_state: + if doc.get_state() != rfc_published_state: doc.set_state(rfc_published_state) rfc_changes.append(f"{verbed} {rfc_published_state.type.label} to {rfc_published_state}")