Skip to content

Commit 145fa55

Browse files
committed
Fix problem with RFC2604 and RFC3025 that share drafts with other
non-obsolete RFCs - Legacy-Id: 2742
1 parent 5c1fc8a commit 145fa55

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

redesign/import-document-state.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,12 @@ def get_or_create_rfc_document(rfc_number):
900900
if ids:
901901
draft = ids[0]
902902

903+
if rfc_number in (2604, 3025):
904+
# prevent merge for some botched RFCs that are obsoleted by
905+
# another RFC coming from the same draft, in practice this is
906+
# just these two, so we hardcode rather than querying for it
907+
draft = None
908+
903909
if draft:
904910
name = draft.filename
905911

0 commit comments

Comments
 (0)