From 1980a6aca3bcd832a75dc86230744bc50da3b66d Mon Sep 17 00:00:00 2001 From: Aditya Srivastava Date: Tue, 24 Mar 2020 13:21:01 +0530 Subject: [PATCH] cephfs-shell: Add new line after read_ceph_conf function definiton This patch fixes following flake8 error: E305 expected 2 blank lines after class or function definition, found 1 Fixes: https://tracker.ceph.com/issues/44657 Signed-off-by: Aditya Srivastava --- src/tools/cephfs/cephfs-shell | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index e56ecd4cda80d..33fb5bb26eb3b 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -1528,6 +1528,7 @@ def read_ceph_conf(shell, config_file): perror(e) shell.exit_code = e.get_error_code() + if __name__ == '__main__': config_file = '' -- 2.39.5