Commit a3805aa3 authored by Vincent Pelletier's avatar Vincent Pelletier

Simplify method.

parent 9e8e1eab
......@@ -632,8 +632,7 @@ class slap:
self._connection_helper.GET('/registerComputerPartition?' \
'computer_reference=%s&computer_partition_reference=%s' % (
computer_guid, partition_id))
xml = self._connection_helper.response.read()
return xml_marshaller.loads(xml)
return xml_marshaller.loads(self._connection_helper.response.read())
def registerOpenOrder(self):
return OpenOrder()
......
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