From: Aditya Srivastava Date: Tue, 24 Mar 2020 07:44:03 +0000 (+0530) Subject: cephfs-shell: Remove redundant blackslash between brackets in read_ceph_conf function X-Git-Tag: wip-pdonnell-testing-20200918.022351~1489^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7ddfa4d4c0b089706577dd445aabc94e3e44618e;p=ceph-ci.git cephfs-shell: Remove redundant blackslash between brackets in read_ceph_conf function This patch fixes the following flake8 error: E502 the backslash is redundant between brackets Fixes: https://tracker.ceph.com/issues/44657 Signed-off-by: Aditya Srivastava --- diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index ce0611edae8..e754af3ad48 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -1508,18 +1508,18 @@ def get_bool_vals_for_boolopts(val): def read_ceph_conf(shell, config_file): try: - shell.debug = get_bool_vals_for_boolopts(cephfs.\ + shell.debug = get_bool_vals_for_boolopts(cephfs. conf_get('debug_shell')) - shell.allow_ansi = get_bool_vals_for_boolopts(cephfs.\ + shell.allow_ansi = get_bool_vals_for_boolopts(cephfs. conf_get('allow_ansi')) shell.echo = get_bool_vals_for_boolopts(cephfs.conf_get('echo')) - shell.continuation_prompt = get_bool_vals_for_boolopts(cephfs.\ + shell.continuation_prompt = get_bool_vals_for_boolopts(cephfs. conf_get('continuation_prompt')) shell.colors = get_bool_vals_for_boolopts(cephfs.conf_get('colors')) shell.editor = get_bool_vals_for_boolopts(cephfs.conf_get('editor')) - shell.feedback_to_output = get_bool_vals_for_boolopts(cephfs.\ + shell.feedback_to_output = get_bool_vals_for_boolopts(cephfs. conf_get('feedback_to_output')) - shell.max_completion_items = get_bool_vals_for_boolopts(cephfs.\ + shell.max_completion_items = get_bool_vals_for_boolopts(cephfs. conf_get('max_completion_items')) shell.prompt = get_bool_vals_for_boolopts(cephfs.conf_get('prompt')) shell.quiet = get_bool_vals_for_boolopts(cephfs.conf_get('quiet'))