Skip to content

Commit d24e9df

Browse files
committed
Ticket.create: Restore flush lost in elixir purge
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 6fad85f commit d24e9df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scriptspony/model/queue.py

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def create(locker, hostname, path, requestor=None, purpose=""):
4545
purpose=purpose,
4646
)
4747
DBSession.add(t)
48+
DBSession.flush()
4849
t.addEvent(type="request", state="open", target="us")
4950
return t
5051

0 commit comments

Comments
 (0)