]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind: fix cephfs.OSError initialization 15000/head
authorYan, Zheng <zyan@redhat.com>
Fri, 12 May 2017 02:38:51 +0000 (10:38 +0800)
committerJan Fajerski <jfajerski@suse.com>
Wed, 14 Jun 2017 13:50:31 +0000 (15:50 +0200)
commit8ac0e5c363bd6439071d26874b6714cf2376736f
tree7bf168138d7ec2a3dc1af881acc8a12c43f1e387
parent09b9410c2e69a466b001d92fc14eb44d768009f1
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>
(cherry picked from commit e6493f64ba4592b8dca54ece4464efa6c7f331a7)
src/pybind/cephfs/cephfs.pyx