Commit e3f14c4c authored by Gabriel Monnerat's avatar Gabriel Monnerat

make OpenOrder.request consistent with ComputerPartition.request

parent 91942e1d
...@@ -150,7 +150,7 @@ class OpenOrder(SlapDocument): ...@@ -150,7 +150,7 @@ class OpenOrder(SlapDocument):
def request(self, software_release, partition_reference, def request(self, 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, slave=False): state=None, shared=False):
if partition_parameter_kw is None: if partition_parameter_kw is None:
partition_parameter_kw = {} partition_parameter_kw = {}
if filter_kw is None: if filter_kw is None:
...@@ -161,7 +161,7 @@ class OpenOrder(SlapDocument): ...@@ -161,7 +161,7 @@ class OpenOrder(SlapDocument):
'partition_parameter_xml': xml_marshaller.dumps(partition_parameter_kw), 'partition_parameter_xml': xml_marshaller.dumps(partition_parameter_kw),
'filter_xml': xml_marshaller.dumps(filter_kw), 'filter_xml': xml_marshaller.dumps(filter_kw),
'state': xml_marshaller.dumps(state), 'state': xml_marshaller.dumps(state),
'slave_xml': xml_marshaller.dumps(slave), 'shared_xml': xml_marshaller.dumps(shared),
} }
if software_type is not None: if software_type is not None:
request_dict['software_type'] = software_type request_dict['software_type'] = software_type
......
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