mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
cephfs-shell: Fix flake8 indentation issues
This patch fixes the following flake8 error: E128 continuation line under-indented for visual indent E122 continuation line missing indentation or outdented Fixes: https://tracker.ceph.com/issues/44645 Signed-off-by: Varsha Rao <varao@redhat.com>
This commit is contained in:
parent
b294be2927
commit
6f63432cdf
@ -1223,7 +1223,7 @@ class CephFSShell(Cmd):
|
||||
if f[0] is ord('/'):
|
||||
f = b'.' + f
|
||||
poutput('{:10s} {}'.format(humansize(dusage),
|
||||
f.decode('utf-8')))
|
||||
f.decode('utf-8')))
|
||||
except libcephfs.Error as e:
|
||||
perror(e)
|
||||
self.exit_code = e.get_error_code()
|
||||
@ -1402,12 +1402,15 @@ class CephFSShell(Cmd):
|
||||
|
||||
poutput("File: {}\nSize: {:d}\nBlocks: {:d}\nIO Block: {:d}\n"
|
||||
"Device: {:d}\tInode: {:d}\tLinks: {:d}\nPermission: "
|
||||
"{:o}/{}\tUid: {:d}\tGid: {:d}\n\Access: {}\nModify: "
|
||||
"{:o}/{}\tUid: {:d}\tGid: {:d}\nAccess: {}\nModify: "
|
||||
"{}\nChange: {}".format(path.decode('utf-8'),
|
||||
stat.st_size, stat.st_blocks, stat.st_blksize,
|
||||
stat.st_dev, stat.st_ino, stat.st_nlink, stat.st_mode,
|
||||
mode_notation(stat.st_mode), stat.st_uid, stat.st_gid,
|
||||
atime, mtime, ctime))
|
||||
stat.st_size, stat.st_blocks,
|
||||
stat.st_blksize, stat.st_dev,
|
||||
stat.st_ino, stat.st_nlink,
|
||||
stat.st_mode,
|
||||
mode_notation(stat.st_mode),
|
||||
stat.st_uid, stat.st_gid, atime,
|
||||
mtime, ctime))
|
||||
except libcephfs.Error as e:
|
||||
perror(e)
|
||||
self.exit_code = e.get_error_code()
|
||||
|
Loading…
Reference in New Issue
Block a user