public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: autotest@test.kernel.org
Cc: kvm@vger.kernel.org
Subject: [PATCH 1/4] frontend.shared.rest_client: Fix reference to an undefined variable
Date: Fri,  6 May 2011 19:24:11 -0300	[thread overview]
Message-ID: <1304720654-3724-1-git-send-email-lmr@redhat.com> (raw)

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(-)

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

             reply	other threads:[~2011-05-06 22:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06 22:24 Lucas Meneghel Rodrigues [this message]
2011-05-06 22:24 ` [PATCH 2/4] frontend.afe.models: Fixing undefined variable error Lucas Meneghel Rodrigues
2011-05-06 22:24 ` [PATCH 3/4] frontend.afe.resources: " Lucas Meneghel Rodrigues
2011-05-06 22:24 ` [PATCH 4/4] mirror.config-sample: " Lucas Meneghel Rodrigues

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1304720654-3724-1-git-send-email-lmr@redhat.com \
    --to=lmr@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox