From: Varsha Rao Date: Mon, 22 Jul 2019 06:08:33 +0000 (+0530) Subject: cephfs-shell: Fix flake8 E302 blank line error X-Git-Tag: v15.1.0~2082^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d54de19578015b08296ecdf58ac4bdf7ac13b0ad;p=ceph.git cephfs-shell: Fix flake8 E302 blank line error Fixes: https://tracker.ceph.com/issues/40836 Signed-off-by: Varsha Rao --- diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index de81ed4456fbb..9f30e77e6c6cb 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')