Create new OpenOrder for each request

parent 675fb5ec
...@@ -103,8 +103,7 @@ def init(config): ...@@ -103,8 +103,7 @@ def init(config):
software_list.append(name) software_list.append(name)
local[name] = url local[name] = url
local['software_list'] = software_list local['software_list'] = software_list
# XXX-Cedric Maybe we should generate a new OpenOrder for each request? local['request'] = lambda software_release, reference: slap.registerOpenOrder().request(software_release, reference)
local['request'] = slap.registerOpenOrder().request
return local return local
def request(): def request():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment