mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
cephfs-shell: Remove undefined exception instance
This patch fixes the following flake8 error: F821 undefined name 'e' Fixes: https://tracker.ceph.com/issues/44645 Signed-off-by: Varsha Rao <varao@redhat.com>
This commit is contained in:
parent
6f63432cdf
commit
8234765b43
@ -1357,7 +1357,7 @@ class CephFSShell(Cmd):
|
||||
else:
|
||||
self.perror("snapshot can only be created or deleted; check - "
|
||||
"help snap")
|
||||
self.exit_code = e.get_error_code()
|
||||
self.exit_code = 1
|
||||
|
||||
def do_help(self, line):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user