]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind-rados: fix read API
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 25 Apr 2011 18:02:10 +0000 (11:02 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 25 Apr 2011 18:05:44 +0000 (11:05 -0700)
commit57cfd7673da66d191cc397689da35d0a1f3dc61a
treeb6bacd3e4b464041d09d6110fb15304396c05d32
parent6b830d8b8f9854fb9040eaaaba3de3f3dde92f4a
pybind-rados: fix read API

Read should have the arguments in the same order as pread.
Add a test for reading from a nonzero offset.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/pybind/rados.py
src/test/ceph-pybind-test.py