From: Venky Shankar Date: Wed, 20 Nov 2019 09:11:10 +0000 (-0500) Subject: pybind / cephfs: remove static typing in LibCephFS.chown X-Git-Tag: v15.1.0~740^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=bbbfb44453f204286a8ff312349d42afde5fced6;p=ceph-ci.git pybind / cephfs: remove static typing in LibCephFS.chown The routine does type checking anyway, plus, to be uniform with other APIs. Fixes: http://tracker.ceph.com/issues/42923 Signed-off-by: Venky Shankar --- diff --git a/src/pybind/cephfs/cephfs.pyx b/src/pybind/cephfs/cephfs.pyx index 0a64fd52a24..e80bd8a61ab 100644 --- a/src/pybind/cephfs/cephfs.pyx +++ b/src/pybind/cephfs/cephfs.pyx @@ -865,7 +865,7 @@ cdef class LibCephFS(object): if ret < 0: raise make_ex(ret, "error in chmod {}".format(path.decode('utf-8'))) - def chown(self, path, int uid, int gid): + def chown(self, path, uid, gid): """ Change directory ownership :param path: the path of the directory to change.