]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind: fix cephfs.OSError initialization 15018/head
authorYan, Zheng <zyan@redhat.com>
Fri, 12 May 2017 02:38:51 +0000 (10:38 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 12 May 2017 02:41:43 +0000 (10:41 +0800)
commite6493f64ba4592b8dca54ece4464efa6c7f331a7
tree741152f0b5cd040171bb5480b09e759f91fa9d7a
parent2c25c99cb4572ffae97555a56b24a4c4097dcdec
pybind: fix cephfs.OSError initialization

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "cephfs.pyx", line 672, in cephfs.LibCephFS.open (/home/zhyan/Ceph/ceph-2/build/src/pybind/cephfs/pyrex/cephfs.c:10160)
  File "cephfs.pyx", line 155, in cephfs.OSError.__init__ (/home/zhyan/Ceph/ceph-2/build/src/pybind/cephfs/pyrex/cephfs.c:1889)
TypeError: __init__() takes exactly 3 positional arguments (2 given)

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/pybind/cephfs/cephfs.pyx