]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind: enable integer flags to libcephfs open
authorJohn Spray <john.spray@redhat.com>
Mon, 7 Mar 2016 13:06:41 +0000 (13:06 +0000)
committerRamana Raja <rraja@redhat.com>
Mon, 18 Jul 2016 10:06:40 +0000 (15:36 +0530)
commit5678584f4176d07301acd7f57acc4efd7fb20e43
tree476e9212e5058e3b897da54898fed5b0821c93b4
parentcab254e924ab4393c5418e98b9ce775b56869568
pybind: enable integer flags to libcephfs open

The 'rw+' style flags are handy and convenient, but
they don't capture all possibilities.  Change to
optionally accept an integer here for advance users
who want to specify arbitrary combinations of
flags.

Signed-off-by: John Spray <john.spray@redhat.com>
src/pybind/cephfs/cephfs.pyx
src/test/pybind/test_cephfs.py