From: Varsha Rao Date: Mon, 13 May 2019 12:11:06 +0000 (+0530) Subject: cephfs-shell: Remove unused 'flag' variable X-Git-Tag: v15.1.0~2668^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=20c31ea2397545790154140822cc2668d85b913f;p=ceph-ci.git cephfs-shell: Remove unused 'flag' variable This patch fixes flake8 unused local variable error. Fixes: https://tracker.ceph.com/issues/39717 Signed-off-by: Varsha Rao --- diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index 2c012f82965..fb0a84bfde4 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -722,7 +722,6 @@ exists.') if not args.all: items = [i for i in items if not i.d_name.startswith(b'.')] - flag = 0 if args.S: items = sorted(items, key=lambda item: cephfs.stat( to_bytes(dir_name + '/' + item.d_name.decode('utf-8'))).st_size)