]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rados.py: fix Object.write() method 4072/head
authorJavier Guerra <javier@guerrag.com>
Wed, 18 Mar 2015 19:46:13 +0000 (14:46 -0500)
committerJavier Guerra <javier@guerrag.com>
Wed, 18 Mar 2015 20:22:28 +0000 (15:22 -0500)
commitd5d0aa332ab4f7761bf011f0aa7fd6e262d3ad3d
treec5397cc9268c27b8acc8f5dcc009903e06f34003
parent9ad1b283dc1ff3c4d3fc516c428dcb1faaba4c52
rados.py: fix Object.write() method

the file position should advance by the number of bytes written,
but the ioctx.write() function returns 0 on success

Signed-off-by: Javier Guerra <javier@guerrag.com>
src/pybind/rados.py