All Draft PEPs should be in the 'Open PEPs' section, even Process ones
This commit is contained in:
parent
e0600917f5
commit
ae714487e9
|
@ -36,15 +36,15 @@ def sort_peps(peps):
|
|||
for pep in peps:
|
||||
# Order of 'if' statement important. Key Status values take precedence
|
||||
# over Type value, and vice-versa.
|
||||
if pep.type_ == 'Process':
|
||||
if pep.status in ("Active", "Draft"):
|
||||
if pep.status == 'Draft':
|
||||
open_.append(pep)
|
||||
elif pep.type_ == 'Process':
|
||||
if pep.status == "Active":
|
||||
meta.append(pep)
|
||||
elif pep.status in ("Withdrawn", "Rejected"):
|
||||
dead.append(pep)
|
||||
else:
|
||||
historical.append(pep)
|
||||
elif pep.status == 'Draft':
|
||||
open_.append(pep)
|
||||
elif pep.status == 'Deferred':
|
||||
deferred.append(pep)
|
||||
elif pep.status in ('Rejected', 'Withdrawn',
|
||||
|
|
Loading…
Reference in New Issue