From e9fe71accbd5500f2d9c46f1b0a9cb490b136e4d Mon Sep 17 00:00:00 2001 From: Sachitanand Shelake Date: Sun, 30 Jan 2022 09:50:53 -0700 Subject: [PATCH] codacy warning fixes Signed-off-by: Sachitanand Shelake --- jenkins/build.sh | 2 +- src/setup/__init__.py | 1 - src/setup/rgw_setup.py | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/build.sh b/jenkins/build.sh index 9bc7d06..312f696 100755 --- a/jenkins/build.sh +++ b/jenkins/build.sh @@ -61,6 +61,6 @@ echo $VER > "$BASE_DIR"/VERSION /bin/chmod +rx "$BASE_DIR"/VERSION /bin/chmod +x "$BASE_DIR"/src/setup/rgw_setup -cd $BASE_DIR +cd "$BASE_DIR" ./setup.py bdist_rpm --release="$REL" diff --git a/src/setup/__init__.py b/src/setup/__init__.py index 9b42ddf..7d6238e 100644 --- a/src/setup/__init__.py +++ b/src/setup/__init__.py @@ -15,4 +15,3 @@ # For any questions about this software or licensing, # please email opensource@seagate.com or cortx-questions@seagate.com. -from cortx.rgw.setup.rgw import Rgw diff --git a/src/setup/rgw_setup.py b/src/setup/rgw_setup.py index eaad7d3..30f085f 100755 --- a/src/setup/rgw_setup.py +++ b/src/setup/rgw_setup.py @@ -88,6 +88,7 @@ class TestCmd(SetupCmdBase): """ Test Setup Cmd """ name = 'test' + def __init__(self, args): super().__init__(args) self.config_path = args.config # Default test_plan is 'sanity'