Re: [PATCH] pybind: trivial fix of missing argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/08/2011 06:35 AM, Henry C Chang wrote:
Signed-off-by: Henry C Chang<henry.cy.chang@xxxxxxxxx>
---
  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!
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux