Skip to content

Commit afe9a02

Browse files
committed
fix: Fetch the System user following more regular conventions
1 parent 0a8c799 commit afe9a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ietf/doc/expire.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def move_file_to(subdir):
230230

231231

232232
def repair_dead_on_expire():
233-
by = Person.objects.get(pk=1) # a.k.a. "(System)"
233+
by = Person.objects.get(name="(System)")
234234
id_exists = State.objects.get(type="draft-iesg", slug="idexists")
235235
dead = State.objects.get(type="draft-iesg", slug="dead")
236236
dead_drafts = Document.objects.filter(

0 commit comments

Comments
 (0)