summaryrefslogtreecommitdiff
path: root/sys-cluster/ceph/files/ceph-10.2.5-Make-CephFS-bindings-and-tests-compatible-with-Python-3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/ceph/files/ceph-10.2.5-Make-CephFS-bindings-and-tests-compatible-with-Python-3.patch')
-rw-r--r--sys-cluster/ceph/files/ceph-10.2.5-Make-CephFS-bindings-and-tests-compatible-with-Python-3.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/sys-cluster/ceph/files/ceph-10.2.5-Make-CephFS-bindings-and-tests-compatible-with-Python-3.patch b/sys-cluster/ceph/files/ceph-10.2.5-Make-CephFS-bindings-and-tests-compatible-with-Python-3.patch
deleted file mode 100644
index 08a7920035aa..000000000000
--- a/sys-cluster/ceph/files/ceph-10.2.5-Make-CephFS-bindings-and-tests-compatible-with-Python-3.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit e1dc386f93eb4613dc7e89cc76a031aeee5022ba
-Author: Oleh Prypin <oleh@pryp.in>
-Date: Thu Jul 21 18:33:25 2016 +0300
-
- pybind: Make CephFS bindings and tests compatible with Python 3
-
- Signed-off-by: Oleh Prypin <oleh@pryp.in>
-
-diff --git a/src/pybind/cephfs/cephfs.pyx b/src/pybind/cephfs/cephfs.pyx
-index ac17ada1a1..bd14de3b16 100644
---- a/src/pybind/cephfs/cephfs.pyx
-+++ b/src/pybind/cephfs/cephfs.pyx
-@@ -613,8 +613,7 @@ cdef class LibCephFS(object):
-
- if not isinstance(mode, int):
- raise TypeError('mode must be an int')
-- if isinstance(flags, basestring):
-- flags = cstr(flags, 'flags')
-+ if isinstance(flags, str_type):
- cephfs_flags = 0
- if flags == '':
- cephfs_flags = os.O_RDONLY