We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fad85f commit d24e9dfCopy full SHA for d24e9df
scriptspony/model/queue.py
@@ -45,6 +45,7 @@ def create(locker, hostname, path, requestor=None, purpose=""):
45
purpose=purpose,
46
)
47
DBSession.add(t)
48
+ DBSession.flush()
49
t.addEvent(type="request", state="open", target="us")
50
return t
51
0 commit comments