cephfs-shell: Fix flake8 E302 blank line error

Fixes: https://tracker.ceph.com/issues/40836
Signed-off-by: Varsha Rao <varao@redhat.com>
This commit is contained in:
Varsha Rao 2019-07-22 11:38:33 +05:30
parent 521de4f94d
commit d54de19578

View File

@ -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')