Add request shorthand method

parent eb731c2b
...@@ -96,4 +96,7 @@ def run(): ...@@ -96,4 +96,7 @@ def run():
key_file=config.key_file, cert_file=config.cert_file) key_file=config.key_file, cert_file=config.cert_file)
local = globals() local = globals()
local['slap'] = slap local['slap'] = slap
# XXX-Cedric Maybe we should generate a new OpenOrder for each request?
local['request'] = slap.registerOpenOrder().request
__import__("code").interact(banner="", local=globals()) __import__("code").interact(banner="", local=globals())
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