From: Michael Fritch Date: Tue, 3 Mar 2020 15:18:36 +0000 (-0700) Subject: mgr/volumes: fix arg typo '.' -> ',' X-Git-Tag: v15.1.1~93^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e2516a480679090a27de3401410d4f9a85cae8d2;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 --- diff --git a/src/pybind/mgr/volumes/fs/fs_util.py b/src/pybind/mgr/volumes/fs/fs_util.py index 22508b1586fc..dc1c79196b29 100644 --- a/src/pybind/mgr/volumes/fs/fs_util.py +++ b/src/pybind/mgr/volumes/fs/fs_util.py @@ -127,6 +127,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)