Return something in shorthand methods of console

parent b6da47f0
...@@ -137,10 +137,10 @@ def init(config): ...@@ -137,10 +137,10 @@ def init(config):
def shorthandRequest(software_release, partition_reference, def shorthandRequest(software_release, partition_reference,
partition_parameter_kw=None, software_type=None, filter_kw=None, partition_parameter_kw=None, software_type=None, filter_kw=None,
state=None): state=None):
slap.registerOpenOrder().request(software_release, partition_reference, return slap.registerOpenOrder().request(software_release, partition_reference,
partition_parameter_kw, software_type, filter_kw, state) partition_parameter_kw, software_type, filter_kw, state)
def shorthandSupply(software_release, computer_guid=None): def shorthandSupply(software_release, computer_guid=None):
slap.registerSupply().supply(software_release, computer_guid) return slap.registerSupply().supply(software_release, computer_guid)
local['request'] = shorthandRequest local['request'] = shorthandRequest
local['supply'] = shorthandSupply local['supply'] = shorthandSupply
......
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