Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cephfs-shell: Fix flake8 errors (E302, E502, E128, F821, W605, 5128, E122) #34254

Closed
wants to merge 8 commits into from
1 change: 0 additions & 1 deletion src/tools/cephfs/cephfs-shell
Expand Up @@ -1357,7 +1357,6 @@ class CephFSShell(Cmd):
else:
self.perror("snapshot can only be created or deleted; check - "
"help snap")
self.exit_code = e.get_error_code()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is wrong. Exit code is required and it should return 1 here .


def do_help(self, line):
"""
Expand Down