From: Varsha Rao Date: Mon, 13 May 2019 12:11:06 +0000 (+0530) Subject: cephfs-shell: Remove unused 'flag' variable X-Git-Tag: v14.2.2~23^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=43f6e0ba1f4f1961706780f81231dee24523b5da;p=ceph.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 (cherry picked from commit 20c31ea2397545790154140822cc2668d85b913f) --- diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index 8e8c2384afc8..a085ae57a1ca 100644 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -726,7 +726,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)