From 65a0c6d0be934c88c8ab7e028e6fe2bd28eada80 Mon Sep 17 00:00:00 2001 From: Aditya Srivastava Date: Tue, 24 Mar 2020 13:11:26 +0530 Subject: [PATCH] cephfs-shell: Add blank line before & after get_bool_vals_for_boolopts() definition This patch fixes flake8 error: E302 expected 2 blank lines, found 1 Fixes: https://tracker.ceph.com/issues/44657 Signed-off-by: Aditya Srivastava --- src/tools/cephfs/cephfs-shell | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index 9887cfa1568d..ce0611edae85 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -1492,6 +1492,7 @@ def setup_cephfs(config_file): print(e) sys.exit(1) + def get_bool_vals_for_boolopts(val): if not isinstance(val, str): return val @@ -1504,6 +1505,7 @@ def get_bool_vals_for_boolopts(val): else: return val + def read_ceph_conf(shell, config_file): try: shell.debug = get_bool_vals_for_boolopts(cephfs.\ -- 2.47.3