Commit 34254e9f authored by Joanne Hugé's avatar Joanne Hugé

client: add get_information shorthand method

parent b72c0fc2
......@@ -101,8 +101,11 @@ def init(conf, logger):
def shorthandSupply(*args, **kwargs):
# XXX-Cedric Implement computer_group support
return slap.registerSupply().supply(*args, **kwargs)
def shorthandGetInformation(*args, **kwargs):
return slap.registerOpenOrder().getInformation(*args, **kwargs)
local['request'] = shorthandRequest
local['supply'] = shorthandSupply
local['get_information'] = shorthandGetInformation
local['product'] = SoftwareProductCollection(logger, slap)
return local
......
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