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:
Varsha Rao 2020-04-14 14:21:24 +05:30
parent 6f63432cdf
commit 8234765b43

View File

@ -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):
"""