From: Varsha Rao Date: Thu, 6 Jun 2019 15:24:21 +0000 (+0530) Subject: cephfs-shell: Remove unused variable 'e' X-Git-Tag: v14.2.2~23^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2da9c3278d938d4407837b5617cd72f2be2c4204;p=ceph.git cephfs-shell: Remove unused variable 'e' Fixes: https://tracker.ceph.com/issues/40191 Signed-off-by: Varsha Rao (cherry picked from commit 6a0a5ed83d6d3e2bb9977bda2c773d5d5b6accf7) --- diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index d20ef3137ed..94aac74e07a 100644 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -425,7 +425,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"