From 521de4f94d435ec688f217c6d5888529c81e181d Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Mon, 22 Jul 2019 11:31:53 +0530 Subject: [PATCH] cephfs-shell: Fix flake8 indentation error Fixes: https://tracker.ceph.com/issues/40836 Signed-off-by: Varsha Rao --- src/tools/cephfs/cephfs-shell | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index 9f54d6cb45f..de81ed4456f 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -16,7 +16,7 @@ import re import shlex if sys.version_info.major < 3: - raise RuntimeError("cephfs-shell is only compatible with python3") + raise RuntimeError("cephfs-shell is only compatible with python3") try: from cmd2 import with_argparser @@ -123,7 +123,7 @@ def glob(path, pattern): if parent_dir == '': parent_dir = '/' if path == '/' or is_dir_exists(os.path.basename(path), - parent_dir): + parent_dir): for i in ls(path, opts='A'): if fnmatch.fnmatch(i.d_name, pattern): paths.append(os.path.join(path, i.d_name)) -- 2.39.5