From d54de19578015b08296ecdf58ac4bdf7ac13b0ad Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Mon, 22 Jul 2019 11:38:33 +0530 Subject: [PATCH] cephfs-shell: Fix flake8 E302 blank line error Fixes: https://tracker.ceph.com/issues/40836 Signed-off-by: Varsha Rao --- src/tools/cephfs/cephfs-shell | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index de81ed4456f..9f30e77e6c6 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -100,6 +100,7 @@ def get_chunks(file_size): def to_bytes(string): return bytes(string, encoding='utf-8') + def ls(path, opts=''): # opts tries to be like /bin/ls opts almost_all = 'A' in opts @@ -115,6 +116,7 @@ def ls(path, opts=''): except cephfs.ObjectNotFound: return [] + def glob(path, pattern): if isinstance(path, bytes): path = path.decode('utf-8') -- 2.39.5