From: Michael Fritch Date: Tue, 3 Mar 2020 15:18:36 +0000 (-0700) Subject: mgr/volumes: fix arg typo '.' -> ',' X-Git-Tag: v14.2.10~189^2~20 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d7eee728b049821bc3fd589de7ce15b4988e5a62;p=ceph.git mgr/volumes: fix arg typo '.' -> ',' fixes mypy error: volumes/fs/fs_util.py: note: In function "get_ancestor_xattr": volumes/fs/fs_util.py:129: error: Too few arguments for "VolumeException" Fixes: https://tracker.ceph.com/issues/44393 Signed-off-by: Michael Fritch (cherry picked from commit e2516a480679090a27de3401410d4f9a85cae8d2) --- diff --git a/src/pybind/mgr/volumes/fs/fs_util.py b/src/pybind/mgr/volumes/fs/fs_util.py index 524f56a2ab0f..79c0fa9c0923 100644 --- a/src/pybind/mgr/volumes/fs/fs_util.py +++ b/src/pybind/mgr/volumes/fs/fs_util.py @@ -126,6 +126,6 @@ def get_ancestor_xattr(fs, path, attr): return fs.getxattr(path, attr).decode('utf-8') except cephfs.NoData as e: if path == "/": - raise VolumeException(-e.args[0]. e.args[1]) + raise VolumeException(-e.args[0], e.args[1]) else: return get_ancestor_xattr(fs, os.path.split(path)[0], attr)