The author forgot to reference self, calling the method _http.request of the ResponseObject class.
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]> --- frontend/shared/rest_client.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/frontend/shared/rest_client.py b/frontend/shared/rest_client.py index 9c4f5d5..7294e40 100644 --- a/frontend/shared/rest_client.py +++ b/frontend/shared/rest_client.py @@ -143,7 +143,7 @@ class Resource(object): logging.debug('Response verification failed, clearing headers and ' 'trying again:\n%s', response_body) _clear_request_headers(uri) - headers, response_body = _http.request( + headers, response_body = self._http.request( full_uri, method, body=entity_body, headers=_get_request_headers(uri)) -- 1.7.5 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
