]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephfs-shell: Remove redundant blackslash between brackets in read_ceph_conf function
authorAditya Srivastava <adityasrivastava301199@gmail.com>
Tue, 24 Mar 2020 07:44:03 +0000 (13:14 +0530)
committerAditya Srivastava <adityasrivastava301199@gmail.com>
Fri, 27 Mar 2020 19:38:33 +0000 (01:08 +0530)
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 <adityasrivastava301199@gmail.com>
src/tools/cephfs/cephfs-shell

index ce0611edae85524c658abfd4de3834789180cf2c..e754af3ad486b0d285cdac802e302d209fd4628c 100755 (executable)
@@ -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'))