Skip to content

Commit

Permalink
cephfs-shell: Remove unused variable 'e'
Browse files Browse the repository at this point in the history
Fixes: https://tracker.ceph.com/issues/40191
Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit 6a0a5ed)
  • Loading branch information
varshar16 authored and batrick committed Jun 20, 2019
1 parent 7ae0f34 commit 2da9c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/cephfs/cephfs-shell
Expand Up @@ -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"
Expand Down

0 comments on commit 2da9c32

Please sign in to comment.