Message ID | 1304720654-3724-1-git-send-email-lmr@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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))
The author forgot to reference self, calling the method _http.request of the ResponseObject class. Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> --- frontend/shared/rest_client.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)