]> 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>
Tue, 2 Aug 2016 10:57:57 +0000 (16:27 +0530)
commite14dc25e1fca7fd74971cbda74d1fcadff5be3b4
treeb7ee688869b5623dd5aa97f896f522d9522575ea
parent2cd3ed8a59786be28b55a0983a438af1aab226ea
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>
(cherry picked from commit 5678584f4176d07301acd7f57acc4efd7fb20e43)
src/pybind/cephfs/cephfs.pyx
src/test/pybind/test_cephfs.py