Commit 46a75ba9 authored by Joanne Hugé's avatar Joanne Hugé

client: add getInformation shorthand method

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