Commit 26ad2c41 authored by Marco Mariani's avatar Marco Mariani Committed by Cédric de Saint Martin

typos

parent bef72c49
......@@ -578,7 +578,7 @@ class ConnectionHelper:
xml = self.GET(method)
except NotFoundError:
# XXX: This is a ugly way to keep backward compatibility,
# We should stablise slap library soon.
# We should stabilise slap library soon.
xml = self.GET('/getComputerInformation?computer_id=%s' % computer_id)
return xml_marshaller.loads(xml)
......@@ -612,7 +612,7 @@ class ConnectionHelper:
raise socket.error(str(exc) + self.error_message_timeout)
raise socket.error(self.error_message_connect_fail + str(exc))
# check self.response.status and raise exception early
# check response.status and raise exception early
if response.status == httplib.REQUEST_TIMEOUT:
# resource is not ready
raise ResourceNotReady(path)
......@@ -649,7 +649,7 @@ class ConnectionHelper:
raise socket.error(self.error_message_connect_fail + str(exc))
response = self.connection.getresponse()
# check self.response.status and raise exception early
# check response.status and raise exception early
if response.status == httplib.REQUEST_TIMEOUT:
# resource is not ready
raise ResourceNotReady("%s - %s" % (path, parameter_dict))
......
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