From f02b860e4d0a7295a32dc2dcbb634ae43e956135 Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Fri, 13 Jan 2012 12:21:08 +0000 Subject: [PATCH] Fix bug introduced with generic states - Legacy-Id: 3806 --- ietf/idrfc/mirror_rfc_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/idrfc/mirror_rfc_index.py b/ietf/idrfc/mirror_rfc_index.py index 69118e199..dcc633066 100644 --- a/ietf/idrfc/mirror_rfc_index.py +++ b/ietf/idrfc/mirror_rfc_index.py @@ -243,7 +243,7 @@ def insert_to_databaseREDESIGN(data): changed = True if doc.get_state_slug() != "rfc": - doc.set_state(State.objects.filter(type="draft", slug="rfc")) + doc.set_state(State.objects.get(type="draft", slug="rfc")) changed = True if doc.stream != stream_mapping[stream]: