All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Durgin <josh.durgin@dreamhost.com>
To: Henry C Chang <henry.cy.chang@gmail.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: [PATCH] pybind: trivial fix of missing argument
Date: Thu, 08 Dec 2011 13:32:29 -0800	[thread overview]
Message-ID: <4EE12CED.4020007@dreamhost.com> (raw)
In-Reply-To: <1323354907-744-1-git-send-email-henry.cy.chang@gmail.com>

On 12/08/2011 06:35 AM, Henry C Chang wrote:
> Signed-off-by: Henry C Chang<henry.cy.chang@gmail.com>
> ---
>   src/pybind/rados.py |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/pybind/rados.py b/src/pybind/rados.py
> index 3d00938..e43cb04 100755
> --- a/src/pybind/rados.py
> +++ b/src/pybind/rados.py
> @@ -450,7 +450,7 @@ written." % (self.name, ret, length))
>           ret = self.librados.rados_read(self.io, c_char_p(key), ret_buf,
>                   c_size_t(length), c_uint64(offset))
>           if ret<  0:
> -            raise make_ex("Ioctx.read(%s): failed to read %s" % (self.name, key))
> +            raise make_ex(ret, "Ioctx.read(%s): failed to read %s" % (self.name, key))
>           return ctypes.string_at(ret_buf, ret)
>
>       def get_stats(self):

Applied, thanks!

      reply	other threads:[~2011-12-08 21:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-08 14:35 [PATCH] pybind: trivial fix of missing argument Henry C Chang
2011-12-08 21:32 ` Josh Durgin [this message]

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=4EE12CED.4020007@dreamhost.com \
    --to=josh.durgin@dreamhost.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=henry.cy.chang@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.