Skip to content

Commit 610b56d

Browse files
committed
Set the type of RFCs that weren't drafts correctly
- Legacy-Id: 3700
1 parent 0b18e45 commit 610b56d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

redesign/importing/import-docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ def get_or_create_rfc_document(rfc_number):
10311031
if draft:
10321032
name = draft.filename
10331033

1034-
d, _ = Document.objects.get_or_create(name=name)
1034+
d, _ = Document.objects.get_or_create(name=name, type=type_draft)
10351035
if not name.startswith('rfc'):
10361036
# make sure draft also got an alias
10371037
alias_doc(name, d)

0 commit comments

Comments
 (0)