diff --git a/cspse/lmc/__init__.py b/cspse/lmc/__init__.py index 0fb30f2877f4dc46fa411bf251180b3dc9a64793..1daa8afc6388e8fe8e23169bc724c10f4eb12e52 100644 --- a/cspse/lmc/__init__.py +++ b/cspse/lmc/__init__.py @@ -1,6 +1,5 @@ __all__ = ( - "CspSubElementMaster", - "CspSubElementSubarray" + "CspSubElementMaster" ) from .subelement_master import CspSubElementMaster diff --git a/cspse/lmc/decorators.py b/cspse/lmc/decorators.py index 1fe7555845afb11b947329f805648192938f7556..44364402606d31825fef0e46c586ca35bc1f8aff 100644 --- a/cspse/lmc/decorators.py +++ b/cspse/lmc/decorators.py @@ -91,7 +91,7 @@ class IsCommandAllowed(object): cmd_to_exec = f.__name__ # the command input argument input_arg = args[1] - device_list = input_arg + #device_list = input_arg # Note: device list is a reference to args[1]: changing # device_list content, args[1] changes accordingly! num_of_devices = len(input_arg) diff --git a/docker/test-harness/Makefile b/docker/test-harness/Makefile index f951fe00248c44767e0e81434564b7c0f5f6512d..3e479777dec8959d2bb4ff7e7daeea71290c262f 100644 --- a/docker/test-harness/Makefile +++ b/docker/test-harness/Makefile @@ -24,7 +24,7 @@ test: lint: pip3 install pylint2junit; \ mkdir -p /build/reports; \ - cd /app && pylint --output-format=parseable csp_lmc_common | tee /build/csp-lmc-subelement-code-analysis.stdout; \ + cd /app && pylint --output-format=parseable cspse/lmc | tee /build/csp-lmc-subelement-code-analysis.stdout; \ cd /app && pylint --output-format=pylint2junit.JunitReporter cspse/lmc > /build/reports/csp-lmc-subelement-linting.xml; .PHONY: all test lint