We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e941296 commit dca5c9cCopy full SHA for dca5c9c
1 file changed
ietf/idindex/index.py
@@ -44,7 +44,9 @@ def add_line(f1, f2, f3, f4):
44
45
inactive_states = ["pub", "watching", "dead"]
46
47
- in_iesg_process = all_ids.exclude(states=State.objects.filter(type="draft", slug__in=["rfc","repl"])).filter(states__in=list(State.objects.filter(type="draft-iesg").exclude(slug__in=inactive_states))).only("name", "rev")
+ excludes = list(State.objects.filter(type="draft", slug__in=["rfc","repl"]))
48
+ includes = list(State.objects.filter(type="draft-iesg").exclude(slug__in=inactive_states))
49
+ in_iesg_process = all_ids.exclude(states__in=excludes).filter(states__in=includes).only("name", "rev")
50
51
# handle those actively in the IESG process
52
for d in in_iesg_process:
0 commit comments