Commit 4fac423d by Cédric de Saint Martin

Merge branch 'slapconsole_simplifications'

2 parents 6e030a76 b933949d
......@@ -137,10 +137,10 @@ def init(config):
def shorthandRequest(software_release, partition_reference,
partition_parameter_kw=None, software_type=None, filter_kw=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)
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['supply'] = shorthandSupply
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!