From: Varsha Rao Date: Thu, 6 Jun 2019 15:24:21 +0000 (+0530) Subject: cephfs-shell: Remove unused variable 'e' X-Git-Tag: v15.1.0~2526^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6a0a5ed83d6d3e2bb9977bda2c773d5d5b6accf7;p=ceph.git cephfs-shell: Remove unused variable 'e' Fixes: https://tracker.ceph.com/issues/40191 Signed-off-by: Varsha Rao --- diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index 46076112a5f5..2f71a4795d38 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -422,7 +422,7 @@ class CephFSShell(Cmd): res = None try: o_mode = int(values, base=8) - except ValueError as e: + except ValueError: res = re.match('((u?g?o?)|(a?))(=)(r?w?x?)', values) if res is None: parser.error("invalid mode: %s\n"